At first glance I don’t think that’s possible with regex, but I have had several glasses of wine and I’m in a Christmas food coma at the moment. What’s your use case for not wanting the entire string decorated uniformly?
On Dec 21, 2013, at 4:45 AM, “fgsfds” email@example.com wrote:
Help me to modify regular expression that is used for PL/SQL syntax highlighting
Thread created by fgsfds
I am experimenting with regular expressions in Toad Options > Editor > Behavior > Syntax Highlighting > Parser.
Looking to modify String: (?s)(’|")(.*?)(\1|\Z) to match everything between quotes EXCEPT words that start with specific combination of character. For example xx_ and xe_
Output should be (matches are red):
cat dog ‘space xx_cat
car cloud xx_toad’ nothing
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Unsubscribe from Toad for Oracle - General notifications altogether.
Toad for Oracle - Discussion Forum
this post as spam/abuse.
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4259 / Virus Database: 3658/6936 - Release Date: 12/20/13