8000
the -b here should cause implicit anchoring. instead it cases re_is_literal() to categorise the regex as not a literal:
; ./build/bin/re -br pcre -t 'a[b]c{1}' ; echo $? 1 ; ; ./build/bin/re -br pcre -t '^a[b]c{1}\z' ; echo $? 1 ;
correctly:
; ./build/bin/re -r pcre -t '^a[b]c{1}\z' anchors: ^$ literal: abc ; echo $? 0 ;
Activity