Can variable name tokens with spaces be specified in XML?

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by Brian Battersby
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 17 years ago by Actipro Software Support - Cleveland, OH, USA
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 (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.