lang::util::get_regexp_indices (private)

 lang::util::get_regexp_indices multilingual_string regexp_pattern

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

Returns a list of two element lists containing the start and end indices of what is captured by the first parenthesis in the given regexp pattern in the multilingual string. The regexp pattern must follow the syntax of the expression argument to the Tcl regexp command. It must also contain exactly one capturing parenthesis for the pieces of text that indices are to be returned for.

Parameters:
multilingual_string (required)
regexp_pattern (required)
Author:
Peter marklund <peter@collaboraid.biz>
See Also:
  • get_hash_indices

Partial Call Graph (max 5 caller/called nodes):
%3 lang::util::get_temporary_tags_indices lang::util::get_temporary_tags_indices (public) lang::util::get_regexp_indices lang::util::get_regexp_indices lang::util::get_temporary_tags_indices->lang::util::get_regexp_indices

Testcases:
No testcase defined.
[ show source ]
Show another procedure: