You are here

constant POTX_JS_STRING in Translation template extractor 8

Same name and namespace in other branches
  1. 6.3 potx.inc \POTX_JS_STRING
  2. 7.3 potx.inc \POTX_JS_STRING
  3. 7.2 potx.inc \POTX_JS_STRING

Regular expression pattern used to localize JavaScript strings.

1 use of POTX_JS_STRING
_potx_parse_js_file in ./potx.inc
Parse a JavaScript file for translatables. Only from Drupal 6.

File

./potx.inc, line 137
Extraction API used by the web and command line interface.

Code

define('POTX_JS_STRING', '(?:(?:\'(?:\\\\\'|[^\'])*\'|"(?:\\\\"|[^"])*")(?:\\s*\\+\\s*)?)+');