Non-capturing parenthesis'

Find, replace, find in files, replace in files, regular expressions

Non-capturing parenthesis'

Postby lekkim » Sun Dec 18, 2005 8:16 pm

Are the any plans to add support for non-capturing parenthesis' in the unix mode for regular expressions? Normally in regex you can write ?: just after the start parenthesis to make the parenthesis non-capturing and hence not be available as a backreference. This is nice for advanced regular expressions and logical grouping.

I'm running UE 11.20+4

Thanks.
User avatar
lekkim
Newbie
 
Posts: 1
Joined: Sun Dec 18, 2005 12:00 am

Re: Non-capturing parenthesis'

Postby edd__ » Wed Jan 04, 2006 7:25 pm

Use this for parenthesis:

([~(])

and

([~)])

It worked for me, Unix Syntax.
User avatar
edd__
Newbie
 
Posts: 5
Joined: Mon Jan 02, 2006 12:00 am


Return to Find/Replace/Regular Expressions