We are currently investigating an issue where outgoing e-mails from our web site are not sending, and apologize for any problems this causes. Please contact us directly via e-mail if you require assistance in the meantime.

Regular expression patterns to lowercase

SyntaxEditor for Windows Forms Forum

Posted 13 years ago by Chris Morris
Version: 4.0.0245
Avatar
Hi this question has probably been asked before but how is it possible to automatically convert a defined regular expression patterns to lowercase in a dynamic language?
<RegexPatternGroup TokenKey="IdentifierToken" Style="UserDefinedIdentifierStyle"  PatternValue="{AlphaMacro}({WordMacro})*" />
So I would like to automatically convert all IdentifierToken's to lowercase.

eg. AAA would automatically become aaa when the user types in text to the Syntax Editor.

Regards,

Chris.

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Chris,

There isn't a built-in way to convert regex patterns to another case. That feature only works with explicit patterns right now. Perhaps you could just process the KeyTyped event and look for this case in code and change it as necessary.


Actipro Software Support

The latest build of this product (v2020.1 build 0402) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.