It would be simpler to just do:
Code:
on $1:snotice:/(quote pass .+)/i:{ $regml(1) }