|
How to halt the match after the first instance
|
|
Aug. 10, 2019, 07:24 PM
(This post was last modified: Aug. 10, 2019 07:26 PM by zoltan.)
Post: #5
|
|||
|
|||
|
RE: How to halt the match after the first instance
Thanks for the examples and refinements.
It took a while but everything seems to be working. It seems you were right about a list error. No code combo would match, so I finally just recreated and named the list, this time from Notepad instead of Metapad, and suddenly it matched. I did find one oddity. For testing, I pasted in a big list of hundreds of words. When separating them using "|" the list matched all code within the bounds, even if it contained nothing in the list. I found that this started occurring when the list got above aproximately 4400 characters. But when using the line-based list, so far there's no limit. For the "j" problem, I'm assuming you just meant an instance of a single "j" not the "j" that's part of a name. That probably wouldn't be an issue, but there's also the case where "mary" or "anne" would match "maryanne." The "j" solution should cover that too, right? But I also remember from Exceptions-U that order matters, so if "maryanne" is first, then "anne" and "mary" could come afterword and be treated separately. |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
How to halt the match after the first instance - zoltan - Aug. 09, 2019, 02:59 AM
RE: How to halt the match after the first instance - JJoe - Aug. 09, 2019, 06:31 PM
RE: How to halt the match after the first instance - zoltan - Aug. 10, 2019, 02:10 AM
RE: How to halt the match after the first instance - JJoe - Aug. 10, 2019, 04:52 AM
RE: How to halt the match after the first instance - zoltan - Aug. 10, 2019 07:24 PM
RE: How to halt the match after the first instance - JJoe - Aug. 11, 2019, 05:30 AM
RE: How to halt the match after the first instance - zoltan - Aug. 12, 2019, 02:24 AM
|

Search
Member List
Calendar
Help





![[-]](images/ONi/collapse.gif)