Jethro commented on a Page, On Join Actions  -  Mar 14, 2010

Well, to me, having a string within the match section of a regex and then using the $regml(1) to reference it is no different than using a regular on text event with the $1:> on $*:TEXT:/^.(welcome)$/iS:#: {
if ($regml(1) == welcome) {
Versus:

on *:TEXT:*:#: {
 if ($strip($1) == .welcome) {

are the exact same things.

And both can also be combined to do the same task:

on $*:TEXT:/^[.]\w+$/iS:#: {
  if ($1 == .welcome) {
}

But it sort of defeats the purpose of regex.

I guess we're each our own when it comes to MSL.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.