diff --git a/src/cursor.coffee b/src/cursor.coffee index df9e5e06b..08e8f7e94 100644 --- a/src/cursor.coffee +++ b/src/cursor.coffee @@ -114,9 +114,10 @@ class Cursor extends Model # Public: Get the RegExp used by the cursor to determine what a "word" is. # - # options: An {Object} with the following keys: + # options: An optional {Object} with the following keys: # :includeNonWordCharacters - A {Boolean} indicating whether to include # non-word characters in the regex. + # (default: true) # # Returns a {RegExp}. wordRegExp: ({includeNonWordCharacters}={})->