The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniOutliner 3 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=9)
-   -   Regular expression engine enhancement request (http://forums.omnigroup.com/showthread.php?t=9292)

Johno 2008-08-09 03:12 AM

Regular expression engine enhancement request
 
I would like to see in the next OO release an enhancement to the find dialogue RE engine to using full PCRE [1] syntax. The open source RegexKit [2] provides the enhanced functionality. This would help when trying to do more complex matches using lookahead and behind assertions.

[1] [url]http://www.pcre.org[/url]
[2] [url]http://regexkit.sourceforge.net[/url]

FlashSheridan 2011-03-17 11:33 AM

Seconded, especially lookahead
 
[FONT="Garamond"]Seconded, especially lookahead, e.g.,
[INDENT][/FONT] [FONT="Courier New"]"(?:[A-Za-z])[/FONT][/INDENT]
[FONT="Garamond"]which works in BBEdit’s regex mode, but not OmniOutliners, as part of a poor man’s smart quotes. (Which is another enhancement request, BTW.)[/FONT]

FlashSheridan 2011-03-17 11:37 AM

Replace Subexpression #1
 
[FONT="Garamond"]OTOH, the “Replace Subexpression #1” option does help, e.g., with the pattern[/FONT]
[INDENT][FONT="Courier New"](")[A-Za-z][/FONT][/INDENT]


All times are GMT -8. The time now is 02:36 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.