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?

Sphinx Substitution With A Container

How can I substitute a container directive ? The following doesn't work: .. |sub| container:: … Read more Sphinx Substitution With A Container

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