duplicate matches in one sentence
See original GitHub issueExample 1:
wtf('[[Page 1]], [[Page 1]]').sentences(0).html()
Result:
<span class="sentence"><a class="link" href="./Page_1"><a class="link" href="./Page_1">Page 1</a></a>, Page 1</span>
Expected Result:
<span class="sentence"><a class="link" href="./Page_1">Page 1</a>, <a class="link" href="./Page_1">Page 1</a></span>
Example 2:
wtf('Just click on here: [[Page 1|here]] or [[Page 2|here]]').sentences(0).html()
Result:
<span class="sentence">Just click on <a class="link" href="./Page_1"><a class="link" href="./Page_2">here</a></a>: here or here</span>
Expected Result:
<span class="sentence">Just click on here: <a class="link" href="./Page_1">here</a> or <a class="link" href="./Page_2">here</a></span>
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
regex - How do you match duplicate values on multiple lines?
A matched line must have "Starting" in it, yes, but the timestamps must also be the same for each line. There should only...
Read more >Duplicate Definition & Meaning - Merriam-Webster
duplicate implies a double or counterpart exactly corresponding to another thing. a duplicate of a house key. copy applies especially to one of ......
Read more >Remove duplicate words from Sentence using Regular ...
Given a string str which represents a sentence, the task is to remove the duplicate words from sentences using regular expression in java....
Read more >How to VLOOKUP multiple values in Excel with criteria - Ablebits
See how to Vlookup multiple matches in Excel based on one or more conditions and return multiple values in a column, row or...
Read more >How to Find Duplicate Values in SQL - LearnSQL.com
Duplicate records waste time, space, and money. Learn how to find and fix duplicate values using SQL's GROUP BY and HAVING clauses.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
whoa! thank you Robin. That certainly looks like a bug!
I’ll look at fixing it this week. thank you for point it out.
same thing for markdown and latex output, too. 😬
hey cool! thank you for making that. Sometimes it’s so much easier just to checkout a javascript file, and be like ‘ooh, right’. Yeah, i share your concerns about the
__CITE_98732__
thing. I’m a little swamped right now, but am planning on taking some big swipes at this library this fall/winter. Wanna join me?