minor
Issue #1 -- Minor performance improvement by avoiding to create a new regex on each cursor event