
Integer pattern in case of dot(.) is not working properly.
Following is the RegexpatternGroup.
<RegexPatternGroup TokenKey="IntegerNumberToken" Style="NumberStyle" LookAhead="{NonWordMacro}|\z" LookBehind="{NonWordMacro}">
<RegexPattern Value="[\+\-]? {DigitMacro}+ (\. {DigitMacro}+)?" />
</RegexPatternGroup>
It works nice when I write 2.33 and color of text is changing like decimal as I provided. But then I write A2.33 or 2.33A the color of numeric values after dot(.) is not changing. It should change to text color instead of numeric color.
Following is the RegexpatternGroup.
<RegexPatternGroup TokenKey="IntegerNumberToken" Style="NumberStyle" LookAhead="{NonWordMacro}|\z" LookBehind="{NonWordMacro}">
<RegexPattern Value="[\+\-]? {DigitMacro}+ (\. {DigitMacro}+)?" />
</RegexPatternGroup>
It works nice when I write 2.33 and color of text is changing like decimal as I provided. But then I write A2.33 or 2.33A the color of numeric values after dot(.) is not changing. It should change to text color instead of numeric color.
Thanks, Syed Sadaqat