Author Topic: Regular Expressions: coding, examples, testing resources  (Read 6374 times)

hiccup

  • Hero Member
  • *****
  • Posts: 8023
To rephrase my previous post: I'm going to prepare an addition about Unicode in RegExes. Stay tuned.
Great. Especially the zero-width space can be useful for sorting purposes. (placing it at the beginning of a tag)

The reason for me suggesting the \p{P} thingy was similar.
It's often difficult to distinguish straight vs. curly apostrophes and quotes, let alone use the keyboard to type the curly versions.
But that may be a rare situation.
And the fact that it will match both dots, commas, and apostrophes probably makes it less useful.
So maybe that was just not a good idea.
Last Edit: February 11, 2023, 02:59:29 PM by hiccup

hiccup

  • Hero Member
  • *****
  • Posts: 8023
You could use a cuppa. :D I've just had one (Yes, weekend!)
Hey!
You are not drinking and BBCode tabling at the same time are you?
It's taking very long, haha!

karbock

  • Sr. Member
  • ****
  • Posts: 377
Improved:
* The variable parts of the symbols stand out
Last Edit: February 12, 2023, 09:11:48 PM by karbock
Search
  Forum •   Wiki
Tips
MB File Paths •  Update Patches
$Functions() •  Regular Expressions
Tag Symbols •  Tag Mapping

karbock

  • Sr. Member
  • ****
  • Posts: 377
Added:
* \p{P}
* \p{S}
* \uFFFF
* some resources
* TOC

Modified:
* titles and structure
Search
  Forum •   Wiki
Tips
MB File Paths •  Update Patches
$Functions() •  Regular Expressions
Tag Symbols •  Tag Mapping

hiccup

  • Hero Member
  • *****
  • Posts: 8023
please ignore

(Only posting this so this Tip&Trick gets a higher position in the long list. I got a bit tired of frequently scrolling through pages to find it ;-)