Version 1.0
Copyright © 2022 Lowell D. Thomas
Python APG
 … an ABNF Parser Generator
Namespaces | Functions | Variables
replace.py File Reference

Demonstrates use of the replace function. More...

Go to the source code of this file.

Namespaces

 examples.exp.replace
 

Functions

def examples.exp.replace.fn (input, result)
 

Variables

string examples.exp.replace.title
 
string examples.exp.replace.pattern
 
string examples.exp.replace.header = 'RESULT'
 
int examples.exp.replace.testno = 0
 
 examples.exp.replace.exp = ApgExp(pattern)
 
string examples.exp.replace.input = '---abc___xyz+++'
 
string examples.exp.replace.repl = '555'
 
 examples.exp.replace.result = exp.replace(input, repl)
 

Detailed Description

Demonstrates use of the replace function.

Definition in file replace.py.

Python APG, Version 1.0, is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.