On Wikipedia, km² is impossible to find, as is mm³.
On Goggle [[//www.google.com/search?q="mm³"+site:en.wikipedia.org | "mm³" ]] gives 120 results, finding mm³ and some m<sup>3.
On Wikipedia [[//en.wikipedia.org/w/index.php?title=Special:Search&search="mm3"&ns0=1&fulltext=Search|"mm3"]] gives 140 results, finding mm3 and mm<sup>3.
T41501 says unicode quotes are not normalized,
and this one says ² and ³ are not normalized.
But digits are indexed tokens and quotes are not.
Regex can find one-character or two-character strings only.
To see this without running a bare regex on millions of pages,
[[https://en.wikipedia.org/w/index.php?title=Special:Search&profile=default&search=insource:/²!³/+prefix:Che&fulltext=Search | here's 10k with 250 hits]]. (Change ! to | and add your own characters.)
T95849 mentions the wnwiki mappingconsiders analyzers, filtering, and fields, while tryand shows enwiki
page mapping toproperties while troubleshootting the unicodee ★ character.
The current analyzers seem fine for the for the match highlighter search and type-ahead search.works correctly with unicode,
To see the highlighter working, something else on the page must match,finding regexp characters in all manner of strings.
[[https://en.wikipedia.org/w/index.php?title=Special:Search&profile=default&search=insource:/²!³!km²/+prefix:Che&fulltext=Search| see this]] (and change ! to |).To see the highlighter working for km²something else on the page must match,
To see the type-ahead search[[https://en.wikipedia.org/w/index.php?title=Special:Search&profile=default&search=insource:/²!³!km²/+prefix:Che&fulltext=Search| see insource:/²!³!km²/ prefix:Che]] (and change ! to |).
The current analyzer for the type-ahead search works,
and with strings greater than one or two, tryfor example ♥ or try★ or m or mm with ² or ³.
Summary:
- `"mm3"` or `"km2"` find no normalized ² or ³ character
- `"mm³"` or `"m²"` find only mm or m
- `insource:/mm³/` or `insource:/km²/` find nothing