|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Thu Jul 24, 2008 3:23 am
Just when I thought I had the basic of regex down... |
Code: |
#regex stand_round {[\w']+ roundhouse sends you to the floor, knocking you senseless.^} {stand} {General Triggers}
|
Doesn't match:
Quote: |
Kotho's roundhouse sends you to the floor, knocking you senseless.
|
in the slightest. What am I doing wrong, what am I not understanding that's causing this to fail? |
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Thu Jul 24, 2008 3:41 am |
Code: |
[\w']+ roundhouse sends you to the floor, knocking you senseless. |
or you probably mean
Code: |
[\w']+ roundhouse sends you to the floor, knocking you senseless.$ |
I think you are muddling ^ and $. |
|
|
|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Thu Jul 24, 2008 3:54 am |
oops, I know that difference. How did that creep in there???
|
|
|
|
|
|