1
edit
Changes
→Want to help???
* Our project can benefit from anyone who is knowledgeable in Python regular expressions. Feel free to contact us if you would like to contribute to the project in this way.
re.sub(r'([Cc])olor', r'\1olour', instring)
Changes every appearance of 'Color' or 'color' with 'Colour' and 'colour' (the Canadian wa)
A better regular expression could avoid this but we are not good yet with RegExps (check anlaysis on RegExprs on next section)
== Project Leader(s) ==