added unicode flag to regex