Unmatched [ in regex; marked by <-- HERE in m/([ <-- HERE B|b)