Title |
Test
Find
Pattern Title
|
Expression |
@{2}((\S)+)@{2} |
Description |
This will match results in a template situation. For example:
template reads
Dear @@Name@@,
....
would become
Dear John,
If you dont want to use the @@ change the @ to what ever characters you want.
|
Matches |
@@test@@ | @@name@@ | @@2342@@ |
Non-Matches |
@test@ | @@na me@@ | @@ name@@ |
Author |
Rating:
Not yet rated.
john hamman
|
Source |
|
Your Rating |
|
Title: Bad matches like @@foo@@bar@@bletch@@
Name: Randal L. Schwartz
Date: 6/2/2005 2:24:09 PM
Comment:
You incorrectly match *all* of @@foo@@bar@@bletch@@
because you don't exclude "@" as one of your match chars. Bad. Voted 1.