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

Substitution In Admonitions

How can I do a substitution in an admonition? For example: |p| account .. note:: **Been using… Read more Substitution In Admonitions

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

Padding Multiple Character With Space - Python

In perl, I can do the following with will pad my punctuation symbols with spaces: s/([،;؛¿!'\])… Read more Padding Multiple Character With Space - Python

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

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