LanguageTool Community

<< return to list of rules

Rule "hyphen in 'opt in/out'"

This is one of many errors that LanguageTool can detect. Visit the LanguageTool homepage to use it online or download it for free.

Description: hyphen in 'opt in/out'
Message: It appears that a hyphen is missing in this expression.
Category: Grammar (ID: GRAMMAR)
Link: https://languagetool.org/insights/post/hyphen/#compound-adjectives-with-hyphens
Incorrect sentences
that this rule can detect:
  • The opt in functionality.
    Correction suggestion: opt-in
  • My opt out attempt wasn't working.
    Correction suggestion: opt-out
Correct sentences
for comparison:
  • My attempt to opt out failed.
Pattern: Show XML · Show in Rule Editor
Check the following text against just this rule:

ID: OPT_IN_HYPHEN [1]
Version: 6.5-SNAPSHOT (2024-04-26 22:33:08 +0200)