Alai wrote:
Note that one also needs to cope with leading and
trailing spaces, and
the
"Category" is case-insensitive. So probably
something more like:
\[\[ *[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy] *: * ...
Or just use an "ignore case" option like /i (in pcre)...
-- chris