regex - Range in reverse order? -
the following regex failing on me;
[aa][æ-åÆ-Å].*
but regex not failing
[aa][v-zv-z].*
it when æ-å used (danish carachters). im puzzled why?
the error getting it
parsing "[aa][æ-åÆ-Å].*" - [x-y] range in reverse order.
æ
character code 145, while å
character code 134, you're saying give me characters between character codes 145 , 134 doesn't work since lower bound greater upper bound. same true Æ
Å
.
here's 1 chart of character codes can determine regex need create instead:
Comments
Post a Comment