`[0]` will throw an exception with RegexParser
rhukster opened this issue · 2 comments
rhukster commented
thunderer 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 .
rhukster commented
Confirmed fixed.. Thanks!