Revert "FIX: word boundary regex (\b) not working in Unicode languages. (#9163)"
Lookbehind regex is not supported in Firefox or IE11
This reverts commit 572bb5988f.
This commit is contained in:
@@ -94,7 +94,7 @@ QUnit.test("Search with context", async assert => {
|
||||
|
||||
const highlighted = [];
|
||||
|
||||
find("#post_7 span.highlighted").map((_, span) => {
|
||||
find("#post_7 span.highlight-strong").map((_, span) => {
|
||||
highlighted.push(span.innerText);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user