diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 9b27b8c18..88332bfe1 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -1795,7 +1795,7 @@ var kDelegateRespondsTo_textShouldBeginEditing + (JSObject)_wordBoundaryRegex { - return /^.[^-\.,+#'"!§$%&/\(<\[\]>\)=?`´*\s{}\|¶]/m; + return /(^[0-9][\.,])|(^.[^-\.,+#'"!§$%&/\(<\[\]>\)=?`´*\s{}\|¶])/m; } + (JSObject)_paragraphBoundaryRegex