examples/lib use the new wrappers
This commit is contained in:
parent
ddb7185482
commit
b559285b78
133 changed files with 17038 additions and 151734 deletions
|
|
@ -1,8 +1,8 @@
|
|||
# Filter key=value pairs from "myfile.txt"
|
||||
import regexprs
|
||||
import re
|
||||
|
||||
for x in lines("myfile.txt"):
|
||||
if x =~ r"(\w+)=(.*)":
|
||||
if x =~ re"(\w+)=(.*)":
|
||||
echo "Key: ", matches[1],
|
||||
" Value: ", matches[2]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue