examples/lib use the new wrappers

This commit is contained in:
Andreas Rumpf 2010-02-28 23:04:18 +01:00
commit b559285b78
133 changed files with 17038 additions and 151734 deletions

View file

@ -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]