Changeset 87
- Timestamp:
- 06/16/05 13:22:19 (3 years ago)
- Files:
-
- all-keywords/trunk/all-keywords.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
all-keywords/trunk/all-keywords.pl
r86 r87 60 60 $string = lc $string unless $case_sensitive; 61 61 62 # keywords w/owhitespaces63 return split(/\s+/, $string) unless $string =~ m/[ []"';,|]?/;64 65 # keywords w/whitespaces62 # keywords separated by whitespaces 63 return split(/\s+/, $string) unless $string =~ m/[\[\]"';,|]/; 64 65 # keywords separated by non-whitespaces 66 66 while ($string =~ m/(\[[^]]+\]|"[^"]+"|'[^']+'|[^;,|]+)/g) { 67 67 my $keyword = $1;
