3 ms·
[^X] means any character other than X, so [^X]* matches zero or more of any characters, so long as none of them are X.
by glxxyz 1y ago
[^X] means any character other than X, so [^X]* matches zero or more of any characters, so long as none of them are X.
- Levitating 1y agoAh my bad! I did misinterpret [^X] as X or the line-start.