Question to syntax highlighting
Eddy De Greef
degreef at imec.be
Thu Jun 18 18:52:14 CEST 2009
Hi,
the pattern that you need is something like
(?i<step|and|all|your|other|keywords>)
Legend:
(?i...) -> case insensitive
<...> -> word boundaries
...|... -> or
Eddy
David, Patrick (I/EG-711) wrote:
> Hello out there,
>
> I use nedit to work on input files for the software ABAQUS (a finite
> element solver).
> I want to teach my nedit to highlight different keywords in a
> non-case-sensitive way. For example the words "step" shall be
> highlighted independet of upper or lower cases. So "Step" is also a
> valid keyword as "step" or "STEP" or "sTep" or ...
>
> I am not very familiar with regex so I have my problems with it. Can you
> help me to build it? I hope for a simple solutions becaus my list of
> keywords is long...
>
> hfh
> Greetings from
> Patrick
More information about the Discuss
mailing list