It’s an explicit goal of this proposal to figure out how set notation interacts with properties of strings.
Here’s the high-level syntax again:
// difference/subtraction
[A--B]
// intersection
[A&&B]
// nested character class
[A--[0-9]]
You can imagine A
and B
being properties of strings. In that case, we‘d get e.g.
// match all multi-code point emoji sequences:
\p{RGI_Emoji}--\p{Emoji}
@msaboff mentioned he’d prefer different syntax depending on how the two proposals interact. Michael, could you elaborate?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4