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:

http://www.asciitable.com/


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -