Can't we clean up messy character classes in regex literals? I don't think it's worth to have three different way to match digit characters as \d
, [:digit:]
, and \p{Digit}
, especially for regex literals.
Can't we clean up messy character classes in regex literals? I don't think it's worth to have three different way to match digit characters as \d
, [:digit:]
, and \p{Digit}
, especially for regex literals.