mIRC Homepage
Posted By: grizzzli create regex with () inside - 05/08/04 10:55 PM
this didin't work
$+(.*,(%nom),.*)

$+(.*,%nom,.*) work but i need () for get expression

how put () with $+ ?

thx


Posted By: tidy_trax Re: create regex with () inside - 05/08/04 10:59 PM
If you mean you wanted to match something like (1), then you could use:

var %text = (1), %expression = $+(\(,%nom,\))
echo -a $regex(%text,$+(/,%expression,/))
Posted By: starbucks_mafia Re: create regex with () inside - 06/08/04 12:13 AM
$+(.*,$chr(40),%nom,$chr(41),.*)

$chr(40) is (
$chr(41) is )
Posted By: grizzzli Re: create regex with () inside - 06/08/04 06:20 AM
$chr nice thx
© mIRC Discussion Forums