View Single Post
  #6  
Old 02-09-2010, 09:03 PM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
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.
Reply With Quote