enable captures in assertions

Like: /<foo=[bar]>/ or /<foo=:Letter>/