On Mar 06, 2014, at 05:02, Peter Payne <[email protected]> wrote: > I've got a GREP search problem that is stumping me.
______________________________________________________________________ Hey Peter, Rule-of-the-thumb - never spend hours on a simple problem when you're on a good help list. :) Try this and see if it works: '\t?[加隆]+ The tab has a zero or 1 quantifier: '?' Zero or more is the asterisk: '*' As for ([john][mary][mike]) that's very direct: Find: (john|mary|mike) This means 'john' OR 'mary' OR 'mike' and captures what is found. Non-capturing but still grouped: (?:john|mary|mike) To find the whole line: ^.*(?:john|mary|mike).* If this doesn't work then please most more examples. -- Best Regards, Chris -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
