Proposal : Allow things like ASN1 as a valid abbreviation
(Minor change)
Currently things like ASN would be a valid abbreviation. Allowing things like ASN1 as a valid abbreviation would be extremely useful for many cases.
Proposed change:
diff -u -r1.15.2.6 TWiki.pm
--- TWiki.pm 6 Dec 2003 14:41:44 -0000 1.15.2.6
+++ TWiki.pm 16 Dec 2003 12:49:48 -0000
@@ -510,7 +510,7 @@
$webNameRegex = qr/[$upperAlpha]+[$mixedAlphaNum]*/;
$defaultWebNameRegex = qr/_[${mixedAlphaNum}_]+/;
$anchorRegex = qr/\#[${mixedAlphaNum}_]+/;
- $abbrevRegex = qr/[$upperAlpha]{3,}/;
+ $abbrevRegex = qr/[$upperAlpha][$upperAlpha$numeric]{2,}/;
# Simplistic email regex, e.g. for WebNotify processing - no i18n
# characters allowed
(Simpler than explaining)
-- MS - 16 Dec 2003