diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-29 06:35:58 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-29 06:35:58 +0000 |
commit | 37d741587db5ee225783db2adf7c06aef8dbcbf2 (patch) | |
tree | fb1c6d4b100e9ecd80027196ec3e0e3a6dec80ce /crawl-ref/source/misc | |
parent | 02a625bc48417a3340b2b4589f444194e44300ac (diff) | |
download | crawl-ref-37d741587db5ee225783db2adf7c06aef8dbcbf2.tar.gz crawl-ref-37d741587db5ee225783db2adf7c06aef8dbcbf2.zip |
Let search pattern extend across all lines of a monster definition.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10074 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc')
-rwxr-xr-x | crawl-ref/source/misc/grep-mon.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/misc/grep-mon.pl b/crawl-ref/source/misc/grep-mon.pl index cc61f233d9..cb3538768b 100755 --- a/crawl-ref/source/misc/grep-mon.pl +++ b/crawl-ref/source/misc/grep-mon.pl @@ -47,6 +47,6 @@ close(FILE); my @mons = split(/^},/m, $content); -my @matches = grep(/$ARGV[0]/, @mons); +my @matches = grep(/$ARGV[0]/s, @mons); print join("},", @matches) . "\n"; |