From 80aedb2aeabe1dbfdfdf697ee86217c0b92137bc Mon Sep 17 00:00:00 2001 From: Lea Verou Date: Wed, 26 Aug 2015 14:49:26 +0200 Subject: [PATCH] Updated documentation since the example was not relevant any more --- extending.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +