Thank you!! It worked.


From: Merlijn van Deen <valhallasw@arctus.nl>
To: Eric K <ek79501@yahoo.com>; Pywikipedia discussion list <pywikipedia-l@lists.wikimedia.org>
Cc: Jon Harald Søby <jhsoby@gmail.com>
Sent: Sunday, January 15, 2012 3:09 PM
Subject: Re: [Pywikipedia-l] Need help for: Page rename / insert text / update links

2012/1/15 Eric K <ek79501@yahoo.com>
> I'm seeing the same. I went to this regex chat and asked them for a regex, which worked on the regex tester http://regexpal.com/ but not on the bot :-(.

Note that you need to escape several characters to work correctly from
the shell. This means that -titleregex:.*[^\w\s-].* should rather be
something like -titleregex:".*[^\w\s-].*"

You can test this using echo, to make sure the value passed to
pywikipedia is the correct one.
valhallasw@dorthonion:~/src/pywikipedia/trunk$ echo ".*[^\w\s-].*"
.*[^\w\s-].*
valhallasw@dorthonion:~/src/pywikipedia/trunk$ echo .*[^\w\s-].*
.*[^ws-].*

Best,
Merlijn