template::adp_variable_regexp (public)

 template::adp_variable_regexp

Defined in packages/acs-templating/tcl/parse-procs.tcl

The regexp pattern used to find adp variables in a piece of text, i.e. occurrences of @variable_name@. Captures the character preceding the first @ in \1 and the variable_name in \2.

Author:
Peter Marklund <peter@collaboraid.biz>
Created:
25 October 2002

Partial Call Graph (max 5 caller/called nodes):
%3 test_template_variable template_variable (test acs-templating) template::adp_variable_regexp template::adp_variable_regexp test_template_variable->template::adp_variable_regexp Class ::xowf::test_item::Question_manager Class ::xowf::test_item::Question_manager (public) Class ::xowf::test_item::Question_manager->template::adp_variable_regexp lang::util::convert_adp_variables_to_percentage_signs lang::util::convert_adp_variables_to_percentage_signs (private) lang::util::convert_adp_variables_to_percentage_signs->template::adp_variable_regexp lang::util::convert_percentage_signs_to_adp_variables lang::util::convert_percentage_signs_to_adp_variables (private) lang::util::convert_percentage_signs_to_adp_variables->template::adp_variable_regexp lang::util::replace_adp_text_with_message_tags lang::util::replace_adp_text_with_message_tags (public) lang::util::replace_adp_text_with_message_tags->template::adp_variable_regexp template::adp_compile template::adp_compile (public) template::adp_compile->template::adp_variable_regexp

Testcases:
template_variable
Source code:
    return {(^|[^\\])@([[:alnum:]_:]+)@}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: