mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 22:16:15 +00:00
9fee89890a
In detail: * Just compare strings where possible. Sometimes the first character alone is distinct enough. * Add missing ^ anchor to avoid possibly running unbound pattern searches. This is not strictly necessary when we know the input is fixed-length. Still I find it more robust and more obvious what it's meant to do. Not to "search for some match somewhere" but to check if the input _is_ a match. Change-Id: I9b7651d8ec1266521c22b38ccabb95a947903f72 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
preinit | ||
tests | ||
themes | ||
ui |