You are here

constant POTX_JS_STRING in Translation template extractor 7.2

Same name and namespace in other branches
  1. 8 potx.inc \POTX_JS_STRING
  2. 6.3 potx.inc \POTX_JS_STRING
  3. 7.3 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 140
Extraction API used by the web and command line interface.

Code

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