Template talk:Str find long

False positives
This template is producing false results after the last edit, as a result, the parameter checks for genre in Infobox animanga/Header is broken. It should be reverted. 24.49.23.45 (talk) 11:32, 30 August 2012 (UTC)
 * The problem occurs when there is a hyphen in the search query (ex. shōnen-ai and shōjo-ai) which results in a false negative. Therefore I've reverted the it back to the old code until this has been addressed. —Farix (t &#124; c) 01:31, 3 September 2012 (UTC)


 * Sandbox version could not match "shōjo-ai" in text: Some examples were as follows:
 * &rarr;
 * &rarr;


 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;
 * I checked to see if there was special treatment for the hyphen "-" to fix the problems, but the bug was in calculating an incorrect length of the text to search, so the search failed for longer strings. -Wikid77 (talk) 20:54, 3 Sep, Wikid77 (talk) 02:51, 4 September 2012 (UTC)

More testing of /sandbox to search longer strings
The following are more tests which confirm the correction (4 September 2012) to match longer strings.
 * Search "hō-hum": &rarr;
 * Search "hōjo-ai": &rarr;
 * Search "hōjo-ai": &rarr;
 * Length of string "shōjo-ai":
 * Search "shōjo-ai": &rarr;
 * Search "xshōjo-ai": {&#123; Str find long/sandbox|text xxxshōjo-ai more|xshōjo-ai}} &rarr;
 * Search "ōjo-ai": &rarr;
 * Search "jo-ai mo": &rarr;
 * Search "shōjo_ai": &rarr;  (underbar "_")
 * Search "shojo-ai": &rarr;  (with "o" not "ō")
 * Search "what-ever": &rarr;

This problem had been an extremely bizarre bug, which did not occur with strings in the first 10 columns. -Wikid77 (talk) 02:51, 4 September 2012 (UTC)


 * So far, no problems with false negatives with the new code. —Farix (t &#124; c) 18:01, 4 September 2012 (UTC)

Template-protected edit request on 29 April 2019
Please remove, and please append   to allow non-template-editors to develop documentation for this template. The documentation template will automatically handle the protection of the page. Thanks, --DannyS712 (talk) 19:38, 29 April 2019 (UTC)
 * Pictogram voting comment.svg Note: I don't think this page is even used now? I have lowered protection. Template:Str find long itself redirects to Template:Str find. &mdash; Martin (MSGJ · talk) 21:03, 30 April 2019 (UTC)
 * In that case, I'll tag it for TfD instead --DannyS712 (talk) 21:07, 30 April 2019 (UTC)