Closed (fixed)
Project:
Rep[lacement]Tags
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2006 at 17:29 UTC
Updated:
7 Mar 2007 at 22:12 UTC
Hi I am successfully using reptags through cck. No problems with the functionality, however, I keep making mistakes as I keep adding tags in lowercase. I know this is not a bug and might be even by design however it is a bit tedious having to always keep reptags in uppercase all the time. Is there a way to make reptags parse both uppercase and lowercase tags together? Thanks.
Comments
Comment #1
profix898 commentedSorry for my late response. I was away from home for a few days. As site-wide and user-tags are already case-insensitive, I assume, you are talking about the module tags, i.e. {NID} or {DATE}. To make these case-independent you simply need to add 'i' at the end of each regexp. For example change
"#{DATE}#" => strftime('%x')to#{DATE}#i" => strftime('%x'). I decided to use upper-case tags to better distinguish them from surrounding text, but maybe I should think about making them case-insensitive ...Comment #2
Fajan commented