Skip to content

for a given expression, generate a string that will match the given regular expression

Notifications You must be signed in to change notification settings

wangjingyi/reg_to_string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regular expression to string

For a given regular expression, generate a string that can be matched by the given regular expression.

Structure:

exp.coffee a combination of a parser and evaluator lexer.coffee a tokenizer example.coffee few examples

Example:

eval = make_evaluator()

console.log eval "abc"

console.log eval "abc|defg"

you can find more examples in the example.coffee file

About

for a given expression, generate a string that will match the given regular expression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published