Re: Question to syntax highlighting

Tim Hubberstey <[email protected]>
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
On 2009-06-18 07:57, 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

I've found that the easiest way to build a syntax pattern is to start with 
the pattern for a language that is similar to your target and modify it. In 
your case, a non-case-sensitive keyword-oriented language like Ada or VHDL 
is probably a good starting place.

-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.