diff options
Diffstat (limited to 'Utils/Parse.pm')
-rw-r--r-- | Utils/Parse.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Utils/Parse.pm b/Utils/Parse.pm index e683d94..7a8fe03 100644 --- a/Utils/Parse.pm +++ b/Utils/Parse.pm @@ -737,6 +737,8 @@ sub get_from_chatfile chomp; while ($_ ne "") { + s/^\s*//; + # If it uses quotes. FIXME: Assuming they surround the whole string. if (/^\'/) { @@ -745,7 +747,7 @@ sub get_from_chatfile } else { - s/([^ \t]*) ?//; + s/(\S*)\s?//; $found = $1; } |