Use bytes() in regex patterns