Quote:
Originally Posted by WhiteDragon
I imagine people would want both a
string.match(pattern) -> boolean
and a
string.replace(pattern, replacement_string) -> string
Where the replacement_string could include back-references (like $1 or $2) if pattern includes capturing parenthesis.
I still think this is a bad idea though.
|
This should be implemented ASAP. I can think of a lot of situations where a replace command would be great.