firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.21k stars 198 forks source link

Description for ECMAScript empty character class #2154

Closed InSyncWithFoo closed 9 months ago

InSyncWithFoo commented 9 months ago

Bug description

[] is described as "empty character class — matches empty string". This is incorrect.

Expected outcome

[] matches nothing, not even the empty string.

firasdib commented 9 months ago

Thanks, fixed in next version.