`[0]` will throw an exception with RegexParser
rhukster opened this issue · comments
Andy Miller commented
Tomasz Kowalczyk commented
Wordpress
' parser regex allows only characters in shortcode name, it does not catch shortcodes which have numbers in name. As for the rest of the parsers, there is a bug in Shortcode
class constructor which checks if name is not empty()
and '0'
is triggering type coercion to integer 0
. I fixed that in the latest commit on master 0797f66 .
Andy Miller commented
Confirmed fixed.. Thanks!