I made a statement about C# having unique regular expression capabilities in this post :: RegEx match open tags except XHTML self-contained tags
Specifically, here is the statement:
C# is unique when it comes to regular expressions in that it supports
- See Matching Balanced Constructs with .NET Regular Expressions
- See .NET Regular Expressions: Regex and Balanced Matching
- See Microsoft's docs on Balancing Group Definitions
This matches any arbitrary character similar to
. match line breaks too.
Similar to that:
This evaluates to an empty character set and can’t match anything at all.