diff options
author | Araq <rumpf_a@web.de> | 2011-08-04 19:47:47 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-08-04 19:47:47 +0200 |
commit | 7748dbc0b24756459e25e2f9f55a219f7d3faf50 (patch) | |
tree | f8ddc9e24b081e598f322e5aa10b3c77bfc15784 /examples/keyval2.nim | |
parent | 7a6140e3a4e8bed0af05abe084e3c52cca4070dc (diff) | |
parent | 3e660efeb46a0c73bd3372c4006bf89050b94774 (diff) | |
download | Nim-7748dbc0b24756459e25e2f9f55a219f7d3faf50.tar.gz |
Merge branch 'master' of github.com:Araq/Nimrod
Diffstat (limited to 'examples/keyval2.nim')
-rwxr-xr-x | examples/keyval2.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/keyval2.nim b/examples/keyval2.nim index 5e7d0ea4a..2a5643276 100755 --- a/examples/keyval2.nim +++ b/examples/keyval2.nim @@ -3,5 +3,5 @@ import pegs for x in lines("myfile.txt"): if x =~ peg"{\ident} \s* '=' \s* {.*}": - echo "Key: ", matches[1], - " Value: ", matches[2] + echo "Key: ", matches[0], + " Value: ", matches[1] |