Fixed weasel plugin. Added case-insensitive flag to new RegExp object.
built mainerror's commit