version0.7.10

This commit is contained in:
Andreas Rumpf 2009-06-08 08:13:09 +02:00
commit 36818817bd
14 changed files with 1011 additions and 0 deletions

9
examples/keyval.nim Normal file
View file

@ -0,0 +1,9 @@
# Filter key=value pairs from "myfile.txt"
import regexprs
for x in lines("myfile.txt"):
if x =~ r"(\w+)=(.*)":
echo "Key: ", matches[1],
" Value: ", matches[2]