/
(?#
  # Adapted for PHP by Paul Buonopane of NamePros https://www.namepros.com/
  # Based heavily on the following works:
  #  - https://manishearth.github.io/blog/2018/02/15/picking-apart-the-crashing-ios-string/
  #  - https://github.com/hackbunny/viramarama
  #
  # This PHP regex will match any string that contains Indic character
  # combinations known to crash many iOS applications as of 11.2.5 and certain
  # macOS combinations as of 10.13.3.
  #
  # IMPORTANT: This will only work if you use the `x` and `u` modifiers.
  #            Example: "/regex-goes-here/xu"
  #
  # COMPATIBILITY: While PHP