This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In section 3.1.2 (FTWords) the following defines the "phrase" option: "If the "phrase" option is specified, the sequence of words and phrases is used to create a single phrase by concatenating the words and phrases and interleaving whitespace. A match occurs, if and only if the resulting phrase is matched in the searched text." According to the definition of word in the specs where we state that "Note that consecutive words *need not be separated by either punctuation or space*, and words may overlap" so it seams unreasonable to force interleaving of whitespace. Similarly a phrase was defined as: "... a sequence of ordered words", the rest being implementation dependent. Thus it should be sufficient to restate more clearly that: "If the "phrase" option is specified, all words and phrases are used to create a sequence of ordered words representing a new phrase. A match occurs, if and only if the resulting phrase is matched in the searched text."
Good catch. I support adding this rewording to the document.
Replaced "If the "phrase" option is specified, the sequence of words and phrases is used to create a single phrase by concatenating the words and phrases and interleaving whitespace. A match occurs, if and only if the resulting phrase is matched in the searched text." with "If the "phrase" option is specified, all words and phrases are used to create a sequence of ordered words representing a new phrase. A match occurs, if and only if the resulting phrase is matched in the searched text."