Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
\:((?:cons@(?:\d+(?:\.\d+)?|(?:"(?:(?:\\\\)+"|[^"]|(?:\r\n|\r|\n))*")))|(?:[a-z]+(?:@[a-z]+)?|\^?[\~\&](?:[a-z]+|\d+|\-1)))
/
g
Input 1
New
:define:&0:factorial :param:~0:static :case :lower@equal:cons@1 :case:end :scope :return:cons@1 :scope:end :scope :define:~0:static :define:~1:static :require:static :call:static@sub:^~0:~1 :store:~0 :call:&-1:~0 :store:~1 :call:static@sum:^~0:~1 :store:~0 :return:~0 :scope:end :define:end
Substitution
:define:&0:factorial :param:~0:static :case :lower@equal:cons@1 :case:end :scope :return:cons@1 :scope:end :scope :define:~0:static :define:~1:static :require:static :call:static@sub:^~0:~1 :store:~0 :call:&-1:~0 :store:~1 :call:static@sum:^~0:~1 :store:~0 :return:~0 :scope:end :define:end