Add case-insensitive flag to regex for row state