Load and precompile only required regexps from Regexp::Common

subj, changes inlined

Best regards, Ruslan.

3.4-regexp_common_load_required_only.patch (467 Bytes)

Ruslan, Please apply.On Wed, Jan 18, 2006 at 07:18:23AM +0300, Ruslan Zakirov wrote:

subj, changes inlined


Best regards, Ruslan.

Changes:

  • load and precompile only reqexp we need

=== html/Elements/CollectionAsTable/ParseFormat

— html/Elements/CollectionAsTable/ParseFormat (revision 1627)
+++ html/Elements/CollectionAsTable/ParseFormat (local)
@@ -48,7 +48,7 @@
</%ARGS>

<%init>
-use Regexp::Common;
+use Regexp::Common qw/delimited/;
my @Columns;

while ($Format =~ /($RE{delimited}{-delim=>qq{'"}}|[{}\w.]+)/go) {


Rt-devel mailing list
Rt-devel@lists.bestpractical.com
The rt-devel Archives