[yunqa.de] Re: RegExp question

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx,yunqa@xxxxxxxxxxxxx
  • Date: Mon, 27 Apr 2009 10:05:29 +0200

At 17:26 26.04.2009, Glenn Alcott wrote:

>I am using DIRegExp and would like to know if there is any way to construct a 
>regexp with the equivalent of an "and" operator. I have used another regexp 
>tool (Ygrep) which does allow this using "&". For example, the regexp a&b&c 
>would find only lines containing all the expressions a, b and c. It doesn't 
>seem to part of the Perl syntax but I wonder if I am missing something. 

The functionality you describe does not exist in DIRegEx.

In DIRegEx, the "&" character forms part of the Unicode character property and 
recursive pattern syntax. It does not concatenate expressions like logical 
"and".

Ralf 

_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: