Quote:
It's not that the \s is matching more than a space
Yes it is, \s in pcre match the ascii values 9, 10, 12, 13 and 32.
Quote:
it's that the pattern is not ensuring a space is between the alias [-l] and the name.
Apart from the \s problem, it is, adding one more space (and not one more \s) is rather wrong if we consider that the original intention was to match indented code (and then that the + on \s+ is here as a convenience/security)


#mircscripting @ irc.swiftirc.net == the best mIRC help channel