regex flag -i set to default as discussed on issue 278