Best syntax for a regex literal
I am working on a programming language.What is the best syntax for regular expression literal?`(...)re (...)$(...)@(...)<...>/.../(re:...)`...`
re ("abc" | ["0"-"9"]+)
means this:
/abc|[0-9]+/
(You can put whitespaceses into the literal)
I am working on a programming language.What is the best syntax for regular expression literal?`(...)re (...)$(...)@(...)<...>/.../(re:...)`...`