If you need an example, use syntax highlighting language C/C++
as defined in c_cplusplus.uew
installed with UltraEdit.
Open a file with file extension C or CPP and it will be highlighted with C/C++
. Open the function list for example via View - Views/Lists - Function List
, right click into the function list and left click on last context menu item Configuration
Or alternatively open Advanced - Configuration - Function List
, select language C/C++
and click on button Modify Groups
The regular expressions are by default for the UltraEdit regular expression engine. Unix regexp engine is not supported. Perl regular expression engine can be used with adding manually to the wordfile the line/Regexp Type = Perl
as explained on syntax highlighting help page and on Template for syntax highlighting language wordfile
There is no option in the dialog for creating the expressions for choosing the regular expression engine.
As written at Subgroups in function list using Perl regular expressions
(and some other topics in syntax highlighting forum) UltraEdit v18.104.22.1688 uses the Perl regular expression engine when above line exists only for the regular expression searches in top level of the hierarchy. For subgroups always the UltraEdit regular expression is used which of course is inconsistent and will be hopefully changed in a future version. Therefore the UltraEdit regular expression engine should be used if that engine is enough which is the case for 99% of all wordfiles. The greater power of Perl regular expressions is really needed only rarely.