Search for a tool
Regular Expression Analyzer

Tool to analyze a regular expression and understand its interpretation mechanism and extracting internal properties through the analyzer.

Results

Regular Expression Analyzer -

Tag(s) : Data processing

Share
Share
dCode and you

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Team dCode likes feedback and relevant comments; to get an answer give an email (not published). It is thanks to you that dCode has the best Regular Expression Analyzer tool. Thank you.

Regular Expression Analyzer

Regular Expression Analyzer



Calculate matching lengths

Tool to analyze a regular expression and understand its interpretation mechanism and extracting internal properties through the analyzer.

Answers to Questions

How to analyze a regular expression?

The software of regex analysis decomposes a regular expression in order to find each component (characters, pattern, matches) and describe its meaning. The analysis is based on a cut of the pattern matching expression.

Example: /\d{2,5}/ correspond to \d (digit) {2,5} between 2 and 5 times.

How to calculate the length of a string catchable by regex?

The script gets minimum and maximum sizes of each element of the expression and calculates the total.

Example: (ab|cde){2,3} has for minimum length 4 (case abab) and maximum 9 (case cdecdecde)

Example: a+ has for minimal length 1 (case a) and maximal infinite (case aaaaa...a)

How to test a regexp?

Currently dCode can do regular expression searches but no real test feature. To test a regular expression, dCode's advice is to use the site Regex101 (link) with a Javascript inerface that allow seeing instantly (by underlined characters) detected items or captured in the regular expression.

Source code

dCode retains ownership of the source code of the script Regular Expression Analyzer online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be released for free. To download the online Regular Expression Analyzer script for offline use on PC, iPhone or Android, ask for price quote on contact page !

Questions / Comments


Team dCode likes feedback and relevant comments; to get an answer give an email (not published). It is thanks to you that dCode has the best Regular Expression Analyzer tool. Thank you.


Source : https://www.dcode.fr/regular-expression-analyser
© 2019 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode
Feedback