Fixed encoding and regex pattern comments.