Am I doing something really crazy here? There is no way that the result
will be true. Replace the " hhh " with "*/" and you still get true
but it is not doing the capture. Replace the " hhh " with "function
foo" and you get an expected response.
Should I even expect alternatives to be supported?
-= Mike
on mouseUp
put "(?i)^\s*(\-\-\s+begin)\s+(\w+)*+|" & \
"^\s*(on)\s+(\w+)*+|" & \
"^\s*(function)\s+(\w+)*+|" & \
"^\s*(command)\s+(\w+)*+|" & \
"^\s*(private\s+function)\s+(\w+)*+|" & \
"^\s*(private\s+command)\s+(\w+)*+|" & \
"^\s*(\/\*\s+include)*+|" & \
"^\s*(\*\/)*+" \
into expr
get MatchText(" hhh
",expr,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14)
answer it & cr & r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14
end mouseUp
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode