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
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

andrewspringman - November 10, 2009 - 12:24
Priority:normal» minor
Assigned to:Anonymous» andrewspringman
Status:active» closed

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

Steve Simms - March 27, 2008 - 02:46
Title:Can I make it ignore a reference?» Overly broad matching
Version:4.7.x-1.1» HEAD
Component:User interface» Code
Category:support request» bug report
Priority:minor» normal
Assigned to:andrewspringman» Anonymous
Status:closed» active

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

pwm4jesus - December 11, 2008 - 16:49

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!

 
 

Drupal is a registered trademark of Dries Buytaert.