Verbal-Exprejon: Regexes without any regex
github.com
github.com
(cl-ppcre:parse-string "(?<!\\w)([*_])(.+?)\\1(?!\\w)")
Gives the following: (:SEQUENCE
(:NEGATIVE-LOOKBEHIND :WORD-CHAR-CLASS)
(:REGISTER (:CHAR-CLASS #\* #\_))
(:REGISTER (:NON-GREEDY-REPETITION 1 NIL :EVERYTHING))
(:BACK-REFERENCE 1)
(:NEGATIVE-LOOKAHEAD :WORD-CHAR-CLASS))
This may look complicated, but it has to be in order to be able to fully cover all features of standard regex. I would like to see how complex regexes like this is represented using Verbal library.