constant LOCALE_JS_OBJECT

Regular expression pattern used to match simple JS object literal.

This pattern matches a basic JS object, but will fail on an object with nested objects. Used in JS file parsing for string arg processing.

Archivo

drupal-7.x/includes/locale.inc, line 51
Administration functions for locale.module.

Código

define('LOCALE_JS_OBJECT', '\{.*?\}')