PDA

View Full Version : Wildcard in writing perl?


Kensh
10-28-2005, 11:37 AM
Ok i was writing a quest and i got to the point where i needed a text wildcard to continue.. can someone give me an example (if there is one) of how to make it detect ANY text that is typed?

sub EVENT_SAY
{
if($text =~/(Wildcard Here)/i)

fathernitwit
10-28-2005, 02:18 PM
if you really mean 'anything'.. just drop the if.... and learn perl.

if you mean something else, ask google
http://www.google.com/search?q=perl+regex