2.2.7 [HTML] Section 9.3.3, Hyphenation
The specification states:
Those browsers that interpret soft hyphens must observe the following semantics: If a line is broken at a soft hyphen, a hyphen character must be displayed at the end of the first line. If a line is not broken at a soft hyphen, the user agent must not display a hyphen character. For operations such as searching and sorting, the soft hyphen should always be ignored.
All Document Modes (All Versions)
The soft hyphen is not ignored when searching or sorting.