summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorGarret Buell <terragb@gmail.com>2008-08-31 20:12:41 -0400
committerGarret Buell <terragb@gmail.com>2008-08-31 20:12:41 -0400
commitcca78b26f71aaa5792e147b8a96c5e26a369bd82 (patch)
tree11a6bef00db0d21c54dff24c203111ad84ed9376 /classes/Notice.php
parente333345722f7a9241bc4e4ec2588eba5e075deff (diff)
Allow_multicase_tags
Make "#test", "#Test", and "#tEsT" all preserve appearance but link to the same tag darcs-hash:20080901001241-e3c0d-b466f35f4f023c6c90a6d2817487c97be9a1bbca.gz
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 8c2097589..5e1f83a52 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -54,7 +54,7 @@ class Notice extends DB_DataObject
function saveTags() {
/* extract all #hastags */
- $count = preg_match_all('/(?:^|\s)#([a-z0-9]{1,64})/', strtolower($this->content), $match);
+ $count = preg_match_all('/(?:^|\s)#([A-Za-z0-9]{1,64})/', strtolower($this->content), $match);
if (!$count) {
return true;
}