[Rt-commit] r6244 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Fri Oct 20 22:19:56 EDT 2006


Author: ruz
Date: Fri Oct 20 22:19:55 2006
New Revision: 6244

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky

Log:
 r3987 at cubic-pc:  cubic | 2006-10-21 06:28:52 +0400
 * not all regexp expect to start/end matching at words boundaries


Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky	Fri Oct 20 22:19:55 2006
@@ -62,9 +62,7 @@
 @types = grep $active{$_->{name}}, @types;
 
 # Build up the whole match
-my $regexp = join "|",
-             map '\b'. $_->{regex} .'\b',
-             @types;
+my $regexp = join "|", map $_->{regex}, @types;
 
 # Make sure we have a default
 $actions{default} ||= sub {};


More information about the Rt-commit mailing list