Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added few strings+case insensitive feature #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gougere89
Copy link
Contributor

Added few string such as "Le Chef de l'Etat", "le candidat d'En Marche" + made all strings case insensitive (because medias doesn't always write "République" or "Président" with a capital letter.)

@Gougere89 Gougere89 mentioned this pull request Jun 21, 2018
@clementFoyer
Copy link

Je ne suis pas sûr de l'intérêt du ".*" dans ces expressions régulières. Tu risques de ne remplacer que la première occurence dans un paragraphe/zone de texte. Attention aussi, tu as utilisé des quotes simples pour l'apostraphe. Il est possible qu'il soit utilisé de réelles apostrophes, auquel cas, la regex ne matchera plus. Et les Regexp sont en les flags "global" et "insensible à la case" (g et i), donc ça devrait déjà être case insensible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants