next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: regexQuote

regexQuote -- escape special characters in regular expressions

Synopsis

Description

i1 : match("2+2", "2+2")

o1 = false
i2 : regexQuote "2+2"

o2 = 2\+2
i3 : match(oo, "2+2")

o3 = true

See also

Ways to use regexQuote :