Hi

If we have

  - tok_is_between_ids()
  - tok_is_between_parents()
  - tok_is_between_groups()

I guess maybe better to add also

1. "after" and "before" methods (related to single element)

2. same methods with indexes parameters. For example 
tok_is_between_ids(elemId1, elem1NumInText, elemId2, elem2NumInText)
example: tok_is_between_ids(e1, 1, e2, 3)
which means "find token between first element e1 and third e2" - if expected 
sentence contains multiple elements e1 or/and e2.
yes, there are many new additional functions, but with similar names and 
functionality. so, these additional functions
 shouldn't confuse users.

Regards,
Sergey


Just a quick update on recent changes to IDL compiler @master (website
docs are NOT updated yet).

1. New IDL functions:
   - tok_txt()
   - tok_norm_txt()
   - tok_req_id()
   - tok_is_between_ids()
   - tok_is_between_parents()
   - tok_is_between_groups()
   - regex()
2. Function tok_id() has a new shortcut '#': {tok_id() == 'a'} is now
{# == 'a'}. tok_id() is still supported.
3. At the call site you can now omit empty brackets for IDL functions:
{tok_groups()} is now {tok_groups}.

Thanks,
--
Aaron.

Reply via email to