Author Topic: Escaped comma in category formula gets lost  (Read 1016 times)

paulmaguire

  • New Members
  • *
  • Posts: 25
Escaped comma in category formula gets lost
« on: August 27, 2019, 10:37:17 AM »
I'm using regexp in a category formula to find photos with titles that are less than 3 words, as follows:

Code: [Select]
"@MetadataTag[title,notregexp,^\s*\S+(?:\s+\S+){2~,}\s*$]"

This requires using an escaped comma as follows:  ~,

It works, but when I go back in to edit the formula, the comma disappears:

Code: [Select]
"@MetadataTag[title,notregexp,^\s*\S+(?:\s+\S+){2~}\s*$]"