=~ to HoistRE so its not slower than using type='regex' - this limits its use to the documented System.RegularExpression
Current State: Closed
Released In: 1.1.1
Target Release: patch
Applies To: Engine
which means that although =~ is a re-implementation of Regex search, foswiki is evaluating the regex in Perl in a foreach loop over every topic.
this is pointlessly slow.
contains further work that should have happened in 1.1, but is too intrusive to do in a 1.1.x patch.
- 14 Oct 2010
I've comited to trunk, and will merge over soon
- 18 Oct 2010