Re: regexp [. .]

2007-01-20 Thread Parv
in message [EMAIL PROTECTED], wrote [EMAIL PROTECTED] thusly... On Wed, 17 Jan 2007 07:15:34 +0500, Parker Anderson [EMAIL PROTECTED] wrote: Is there a certain match you are trying to pattern? From the looks of it, [ch]* would match a similar set of characters, but it isn't as strict

Re: regexp [. .]

2007-01-17 Thread applecom
On Wed, 17 Jan 2007 07:15:34 +0500, Parker Anderson [EMAIL PROTECTED] wrote: Is there a certain match you are trying to pattern? From the looks of it, [ch]* would match a similar set of characters, but it isn't as strict about which pattern they should be in. I need 'some[^[.pattern.]]'

regexp [. .]

2007-01-16 Thread applecom
a `ch' collating element, then the RE `[[.ch.]]*c' matches the first five characters of `chchcc'. But grep (and other programs using regexp) writes on echo somepattern | grep -Ee 'some[^[.pattern.]]': Invalid collation character. What's wrong

Re: regexp [. .]

2007-01-16 Thread Parker Anderson
one character, e.g. if the collating sequence includes a `ch' collating element, then the RE `[[.ch.]]*c' matches the first five characters of `chchcc'. But grep (and other programs using regexp) writes on echo somepattern | grep -Ee 'some[^[.pattern.]]': Invalid collation character. What's wrong