lang::util::message_tag_regexp (public)

 lang::util::message_tag_regexp

Defined in packages/acs-lang/tcl/lang-util-procs.tcl

The regexp expression used by proc get_temporary_tags_indices and elsewhere to extract temporary message catalog tags (<#...#>) from ADP and Tcl files. The first sub match of the expression is the whole tag, the second sub match is the message key, and the third sub match is the message text in en_US locale.

Author:
Peter marklund <peter@collaboraid.biz>
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_message_regexp test_message_regexp (test acs-lang) lang::util::message_tag_regexp lang::util::message_tag_regexp test_test_message_regexp->lang::util::message_tag_regexp lang::util::get_temporary_tags_indices lang::util::get_temporary_tags_indices (public) lang::util::get_temporary_tags_indices->lang::util::message_tag_regexp lang::util::replace_temporary_tags_with_lookups lang::util::replace_temporary_tags_with_lookups (public) lang::util::replace_temporary_tags_with_lookups->lang::util::message_tag_regexp

Testcases:
test_message_regexp
Source code:
    return {(<#\s*?([-a-zA-Z0-9_:\.]+)\s+(.+?)\s*?#>)}
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-lang/tcl/lang-util-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: