Skip to content Skip to sidebar Skip to footer
Showing posts with the label Substitution

Python Regular Expression: Why Does This Not Work?

This does not give me an error nor an answer. re.sub('\\.(\\W|\\.)*[o0](\\W|[o0])*', '… Read more Python Regular Expression: Why Does This Not Work?

Substitution In A File Name With Restructuredtext (sphinx)?

I want to create several files from a single template, which differ only by a variable name. For ex… Read more Substitution In A File Name With Restructuredtext (sphinx)?

Re.sub In Python 3.3

I am trying to change the text string from the form of file1 to file01. I am really new to python … Read more Re.sub In Python 3.3

Python Regex Sub: Using Dictionary With Regex Expressions

I am using a dictionary that contain regular expressions to substitute portions of different string… Read more Python Regex Sub: Using Dictionary With Regex Expressions