[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: regexp: anything but |



On Fri, Dec 11, 2009 at 01:21:53PM +0100, Michael Wagner wrote:
> * lee <lee@yun.yagibdah.de> 09.12.2009
> 
> > <start of line> <anything> <pipe> <anything but pipe> -[-0] <pipe>
> > should match above line. But why does it match
> 
> Hello lee,
> 
> look at the program 'txt2regex'. With it you can define a regex for some 
> programs like sed, vim, grep etc. It's not perfect, but you always get 
> the idea.

Thanks for the hint! I was using kregexpeditor, but it didn't turn out
very useful other than that it was nice for displaying the meaning of
an already existing regexp. Next time I'll try txt2regex.


Reply to: