Overly broad matching
andrewspringman - March 26, 2008 - 11:07
| Project: | Scripture Filter |
| Version: | HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I'm running Drupal 4.7 and every once in a while I get a false match on a string that gets treated as a bible reference. Is there a way to tell Scripture Filter to ignore a block of text? Thanks in advance

#1
I figured out a way: Insert a blank comment.
For example, the string "The 2008" will make a false match. To prevent it, use "The 2008" instead.
OK, that didn't work. Let's try that again....
To prevent it, use "The<!-- --> 2008" instead.#2
Yep, that'll work -- anything that breaks up the scripture reference will keep it from matching.
I'm going to reopen this and make it a bug report, though - if it's matching "The 2008" as a scripture reference, that's too broad.
#3
We are having the same problem. We have a site that refers to "the 12 Steps" and it picks up "the 12" as a bible reference. we are using drupal 5. thanks!