lang::util::get_hash_indices (public)

 lang::util::get_hash_indices multilingual_string

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

Returns a list of two element lists containing the start and end indices of a #message_key# match in the multilingual string. This proc is used by the localize proc.

Parameters:
multilingual_string (required)
Author:
Peter marklund <peter@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 test_util__get_hash_indices util__get_hash_indices (test acs-lang) lang::util::get_hash_indices lang::util::get_hash_indices test_util__get_hash_indices->lang::util::get_hash_indices lang::util::localize lang::util::localize (public) lang::util::localize->lang::util::get_hash_indices packages/acs-admin/www/apm/version-i18n.tcl packages/acs-admin/ www/apm/version-i18n.tcl packages/acs-admin/www/apm/version-i18n.tcl->lang::util::get_hash_indices

Testcases:
util__get_hash_indices
Source code:
    return [regexp -inline -indices -all {\#[a-zA-Z0-9_:-]+\.[a-zA-Z0-9_:-]+\#} $multilingual_string]
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: