You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
540 B

define: DUK_USE_REGEXP_SUPPORT
introduced: 1.0.0
default: true
tags:
- ecmascript
- lowmemory
description: >
Enable support for regular expressions (recommended).
When disabled, regexp literals are treated as a SyntaxError, RegExp
constructor and prototype functions throw an error,
String.prototype.replace() throws an error if given a regexp search value,
String.prototype.split() throws an error if given a regexp separator value,
String.prototype.search() and String.prototype.match() throw an error
unconditionally.