Open NotroDev opened 1 year ago
Hey. I have this ruleset for color preview:
<RuleSet name="ColorsRuleSet"> <Span foreground="#FF5555" ruleSet="TestRuleSet"> <Begin>(&[clkmno])+(?:[^;"&]|"")*(?=[;"&])</Begin> <End></End> </Span> <Span foreground="#AA0000" ruleSet="TestRuleSet"> <Begin>(&[4lkmno])+(?:[^;"&]|"")*(?=[;"&])</Begin> <End></End> </Span> <Import ruleSet="TestRuleSet" /> </RuleSet>
But this overrode my percent-expressions (e.g. %player%) so I moved it to the other ruleset and added it to the ColorsRuleSet, but it doesn't work:
%player%
<RuleSet name="TestRuleSet"> <Rule color="BracedExpression"> %[^%{}]*[{}][^%]*%[^%]*%[^%{}]*[{}][^%]*%|%[^%]*% </Rule> </RuleSet>
It's like this:
But it should be like this:
Hey. I have this ruleset for color preview:
But this overrode my percent-expressions (e.g.
%player%
) so I moved it to the other ruleset and added it to the ColorsRuleSet, but it doesn't work:It's like this:
But it should be like this: