[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need Help with defining highlight definition
[Thread Prev] | [Thread Next]
- Subject: Re: Need Help with defining highlight definition
- From: Brian G <brian@xxxxxxxxxxxxxxxx>
- Date: Mon, 14 Jul 2025 15:19:50 -0700
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Anyway, how dumb, that of course is not the actual comparison only the parsing...
So is there a way to tell the highlighter to ignore case when checking keywords, operators words etc...
On 7/14/25 14:24, Brian G wrote:
Unfortunately it provides this error when run!Cannot load highlighter 'asm6502': [gb.highlight].TextHighlighter.CreateCustomHighlighter.679: [gb.highlight].TextHighlighter.CreateCustomHighlighter.489: Syntax error. Bad regular expression at line 2On 7/14/25 12:43, Linus wrote:Hello, Could it be that: @word (?>(?i)/[A-Za-z_]|(?i)[A-Za-z0-9_])*/ OlivierLe 14 juil. 2025 à 14:54, Brian G <brian@xxxxxxxxxxxxxxxx> a écrit :All my keywords and test operators are caseless. I am trying to define @word to redifine how a word should look as caselessI try this @word /(?i)[A-Za-z_](?i)[A-Za-z0-9_]*(?-i)/ @word /(?i)[A-Za-z_][A-Za-z0-9_]*/ I want this@word (?i)/[A-Za-z_](?i)[A-Za-z0-9_]*/ this cause the evaluation to crashHelp?? has anyone done work with this? -- ~~~~ Brian-- ~~~~ Brian
-- ~~~~ Brian
Attachment:
OpenPGP_0x78BFB26402F48419.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
Need Help with defining highlight definition | Brian G <brian@xxxxxxxxxxxxxxxx> |
Re: Need Help with defining highlight definition | Linus <olivier.cruilles@xxxxxxxx> |
Re: Need Help with defining highlight definition | Brian G <brian@xxxxxxxxxxxxxxxx> |