Can variable name tokens with spaces be specified in XML?

SyntaxEditor for Windows Forms Forum

Posted 12 years ago by Brian Battersby
Avatar
We have a language that allows users to define variable names with spaces. Can explicit variable name tokens with spaces be specified in the XML specification?

Thank you, Brian B.

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes each ExplicitPatternGroup can have numerous ExplicitPattern child tags. In those there is a Value attribute allowing you to specify a pattern with whitespace. However note that the whitespace will be fixed so if you enter a space in your definition and the end user enters two spaces, it will not match the pattern. If that is an issue then you will want to use a regex pattern instead.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.