<div dir="ltr">Hi<div><br></div><div>Can I suggest a fix to the StrongNumberFilter, which currently relies on </div><div>org.crosswire.jsword.book.study.StrongsNumber<br></div><div><br></div><div style>The regular expression used to match the Strong number is:</div>
<div style>private static final Pattern STRONGS_PATTERN = Pattern.compile(&quot;([GgHh])0*([1-9][0-9]*)!?([A-Za-z]+)?&quot;);<br></div><div style><br></div><div style>Unfortunately, some texts use H00 as a strong number to indicate that the tagged word is in 2 places (i.e. this is only the first part of the tag).</div>
<div style><br></div><div style>The above expression causes huge amounts of Logging to be output to the console. </div><div style><br></div><div style>I suggest we change it to something like</div><div style><br></div><div style>
[GgHh][0-9]+</div><div style><br></div><div style>Also, what&#39;s the stuff at the end of the regex? Haven&#39;t come across any like that... </div><div style><br></div><div style>Chris</div><div style><br></div></div>