Thread
:
Pattern matching optimization
View Single Post
09-18-15, 08:14 AM
#
5
MunkDev
A Scalebane Royal Guard
Join Date: Mar 2015
Posts: 431
Code:
text = gsub(text, "[\1\10\32\34#%'\(\)\*\+,\-\./%d:;<>=\[\]^{|}~]", "")
This doesn't remove any of the characters supplied in the character class.
__________________
MunkDev
View Public Profile
Send a private message to MunkDev
Visit MunkDev's homepage!
Find More Posts by MunkDev