Regular expression patterns to lowercase

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by Chris Morris
Version: 4.0.0245
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.



Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
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 (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.