|
horks Apprentice
Joined: 20 Jul 2001 Posts: 127 Location: USA
|
Posted: Wed Aug 31, 2005 7:05 pm
Pattern matching problem |
The pattern I'm trying to match is this:
"(%w) is distracted by the flames."
Seems pretty simple, but here's the problem. The pattern falls at the end of a paragraph, and depending on how long (%w) is (and how long the previous sentance is) any part of pattern can end up on a new line. Any good solution to match even if part is on a new line?
Thanks in advance |
|
_________________ <b>Father Horks</b>
<i>The only problem with computer security, is when you think it exists.</i> |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Aug 31, 2005 9:38 pm |
First enable use of wildcards in {} patterns in the preferences. Next try this:
"(%w){$| }is{$| }distracted{$| }by{$| }the{$| }flames." |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|