|
Senior Member
Join Date: Feb 2005
Location: Murrieta, CA.
|
07-09-2009
, 01:49
Re: Restrict Names 1.2a
|
#291
|
Quote:
Originally Posted by Brad
You can make it less effective but have a lower rate of false positives by escaping the periods, making them literal.
i.e.
Code:
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b
That will stop " 216.52.148.47", but it won't stop "216,52,148,47", or any other creative variation that still gets the player's point across.
|
Thanks Brad.
__________________
|
|
|
|