constant POTX_JS_OBJECT in Translation template extractor 6.3
Same name and namespace in other branches
- 8 potx.inc \POTX_JS_OBJECT
- 7.3 potx.inc \POTX_JS_OBJECT
- 7.2 potx.inc \POTX_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.
1 use of POTX_JS_OBJECT
- _potx_parse_js_file in ./
potx.inc - Parse a JavaScript file for translatables. Only from Drupal 6.
File
- ./
potx.inc, line 149 - Extraction API used by the web and command line interface.
Code
define('POTX_JS_OBJECT', '\\{.*?\\}');