LibraryCarpentry / lc-data-intro

Library Carpentry: Introduction to Working with Data (Regular Expressions)
https://librarycarpentry.org/lc-data-intro/
Other
29 stars 82 forks source link

Phone number exercise is not appropriate for a global audience #225

Open maneesha opened 6 months ago

maneesha commented 6 months ago

How could the content be improved?

The phone number exercise assumes that what you know about phone numbers is that it is "three digits, a dash, and four digits." This is not true in all parts of the world. Consider adapting this exercise to be more globally inclusive.

Which part of the content does your suggestion apply to?

No response

maneesha commented 6 months ago

Relatedly, the intro section suggests a possible use of regexes is to remove parentheses around a phone number's area code. This also may not be meaningful to a global audience.