79760635

Date: 2025-09-10 08:46:00
Score: 2
Natty:
Report link

Instead of using ' and " directly, we can use hexcode x22 to represent single quotes and x27 to represent double quotes in the regex string.

r"^[\x22\x27]+$"

Ref: https://community.esri.com/t5/arcgis-survey123-questions/regex-to-allow-both-and-quot/m-p/1389514#M55156

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ivone Djaja