Bug: Invalid [] range produces E16 error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug: Invalid [] range produces E16 error

Nikolay Aleksandrovich Pavlov
If range inside [] in regular expression is invalid then message
    E16: Invalid range
is echoed, but E16 tag links to ex command-line ranges which is not related to
regular expression collections.

Example that echoes E16 error:
    echo "a"=~'[b-a]'

signature.asc (205 bytes) Download Attachment