diff --git a/extending.html b/extending.html index a061791f42..ee09bdfff6 100644 --- a/extending.html +++ b/extending.html @@ -45,8 +45,8 @@

Language definitions

lookbehind
This option mitigates JavaScript’s lack of lookbehind. When set to true, the first capturing group in the regex pattern is discarded when matching this token, so it effectively behaves - as if it was lookbehind. For an example of this, check out the JavaScript language definition, in particular the regex and comment tokens: -
+ as if it was lookbehind. For an example of this, check out the C-like language definition, in particular the comment and class-name tokens: +

 		
 		
rest
Accepts an object literal with tokens and appends them to the end of the current object literal. Useful for referring to tokens defined elsewhere. For an example where rest is useful, check the Markup definitions above.
@@ -203,4 +203,4 @@

Returns

- \ No newline at end of file +