renshijun wrote:as the topic says,no explaination in manual and lib reference.
Hmmm. Unsure.
I know this from TCL only, where
\m matches beginning of a word boundary (like
\< in posix). Not sure if sqstdlib supports that, never had the need. A quick glance at the stdlib sourcecode: I highly doubt it does. More likely it either wouldn't compile or exactly match the string \m itself.
note that the @ in squirrel simply starts a literal string, so the \ character is no escape but taken as is, so the expression string will exactly read
\m()Where did you get that expression?