cleanup Nim's examples/ directory; closes #7725

This commit is contained in:
Araq 2018-09-03 18:29:00 +02:00
commit 320582a55c
68 changed files with 2 additions and 8623 deletions

View file

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