Timothy <tecos...@gmail.com> writes:

Hi NoWayman,

Thanks for your suggestion. At a glance it looks reasonable to me, but would you be able to explain the default value you’ve set? It isn’t obvious to me how you arrived at `"[ \t]*[^[:alnum:]_@#%][ \t]*"'. Also, do you think a one-size-fits-all solution is a good fit here? I don’t do much with tags
personally, so I’m probably not the best person to judge.

(defconst org-tag-crm-separator “[ ]*[^[:alnum:]_@#%][ ]*”
“Regexp used to determine `crm-separator’ when reading multiple tags.”)

All the best,
Timothy

I was aiming for the inverse of `org-tag-re' which is:

"[[:alnum:]_@#%]+"

The idea being we treat any character which is not a valid tag character as the crm separator.

Reply via email to