Regular Expressions 101

Community Patterns

simple common lisp tokenizer

7

Regular Expression
ECMAScript (JavaScript)

/
(?:\;.*$|(\(|\)|\"(?:\\\"|\\\\|[^\"])*\"|[\w\+\-\*\/\.\<\>\=]+|\'|\;|\\|\||\#|\`|\,|\:))
/
gmi

Description

main symbols and comments are supported

Submitted by d4rw1n1s7@gmail.com - 9 years ago