Avatar of huangs3
huangs3
Flag for Canada asked on

Reference documentation for Dojo Dijit regular expression?

Hi Experts,


I am using Dojo Dijit to do development on a website, and want to use the ValidationTextBox with regular expression.

https://dojotoolkit.org/reference-guide/1.8/dijit/form/ValidationTextBox.html


I can see an example of using the regExp from the above web page. However, I cannot find a reference to the syntax of the regular expression. 

Do you know where I can find the syntax reference?

Thank you!

* dojoWeb DevelopmentRegular Expressions

Avatar of undefined
Last Comment
louisfr

8/22/2022 - Mon
Dr. Klahn

First thing is, you need to find out which variant of regular expressions is accepted.  There are over 20 variations, all of them somewhat different.  The software documentation overview should state which engine it uses.

https://en.wikipedia.org/wiki/Comparison_of_regular-expression_engines

Once you know which engine is in use, then you can find the documentation applicable and test regexes using any of the various sites on the internet which support different regex engines.
huangs3

ASKER
Hi Klahn,
You are right, my problem is cannot find which type of variant of regular expression is accepted by the DOJO...
ASKER CERTIFIED SOLUTION
louisfr

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Your help has saved me hundreds of hours of internet surfing.
fblack61