From cf7234dea91637de77179bf6e00c66e15c06f070 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Wed, 18 Mar 2015 22:36:57 +0300 Subject: smarty: Add back special case for decade abbreviations The previous version did not work, and was incorrectly removed as part of 85ad18071d619251. In the new version, use lookbehind search for \w instead of \b, so that it works. Update the tests accordingly. Fixes #399 (except parts that we can't fix). Thanks @gandaro for the report. --- tests/extensions/smarty.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/extensions/smarty.txt') diff --git a/tests/extensions/smarty.txt b/tests/extensions/smarty.txt index 35fb219..48430bb 100644 --- a/tests/extensions/smarty.txt +++ b/tests/extensions/smarty.txt @@ -1,4 +1,4 @@ -'. +'. 1440--80's 1440--'80s 1440---'80s -- cgit v1.2.3