on http://trycf.com lucee 5 and https://docs.lucee.org/
this returns an EMPTY array
cfdump var=“#reMatchNoCase(‘^[0-9a-z]{2,17}$’, ‘r’ )#” />
but this returns - Array with 1 empty element.
cfdump var=“#reMatchNoCase(‘^[0-9a-z]{0,17}$’, ‘’ )#” />
Which is correct behavior?
ALSO
on our
lucee ver 5.3.8.206
jvm 1.8.0_181-b13
second case returns an ampty array (with 0 elements).
what is the designed result please