[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Advance Regex help

"Chris Velevitch" <5ub5@xxxxxxxxx> wrote in message
news:opsrqf6ab0bttdob@xxxxxxxxxxxxxxxxxxx
> How do I search for a pattern only if the pattern is before a specific
> character eg '%'. For example:-
>       1. pattern % something
>       2. something % pattern
> I want to be able to match line 1 but not line 2.
> Any ideas?
Use one of the excellent regex plugins available!
*Regex View, Java Regex support
[Site|http://sourceforge.net/projects/regexview/]
*Regex Tester, Java Regex support
[Site|http://sourceforge.net/projects/regex-eclipse/]
*Epic regex, Gnu-regex regex support is part of epic
[Site|http://sf.net/projects/e-p-i-c]
*QuickRexx, Java, Oro, and Awk style regex
[Site|http://www.bastian-bergerhoff.com/eclipse/features/web/QuickREx/toc.ht
ml]

Notes also that Eclipse search supports regex as well as regex content
assist for Java regex!