2 ms·
English is a common base. Not everyone understands Regex or enough about math. If you use Regex, some people might not be able to understand and change your Reg
by Vektorweg 12y ago
English is a common base. Not everyone understands Regex or enough about math. If you use Regex, some people might not be able to understand and change your Regex if necessary.
Well, most of the time, no one else needs to understand it ...
- brudgers 12y agoIs calling '*' "Kleene_Star" a marked improvement? The hard part of regular expressions is envisioning the languages they accept. It's not primarily a difficulty with notation as with the concepts the notation encodes.
- Vektorweg 12y agoThe * or Kleene star describes a sequence of values from a specific set. A nice function name would be "many", like in Haskell's Parsec. In comparison between *, "Kleene_Star" and "many" is the meaning of the function, when named "many", is easy to imply without consulting the docs.