[Date Prev] | [Date Next] | [Thread Prev] | [Thread Next] | [Date Index] | [Thread Index] |
> Adam Cormany wrote: > > I've noticed match_begin to match incomplete arguments to a string, > but only at the beginning of the string. Example: > match_begin("insanity", "ins") would return true. > > Is there any matching that matches incomplete arguments to a string, > but at the end? Something like match_end("insanity", "ity")? Thanks It won't be that fast, but you could just use: match_begin(arg1.reverse(), arg2.reverse()) - Bruce