diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-11-09 09:21:38 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-11-13 15:08:50 -0500 |
commit | cf062303e35e4baa0dc2aa3dfb68b2c25b1ed2c2 (patch) | |
tree | ef53d0517a09247cd97c4d9ee70c294a5a607ae8 /main/strings.c | |
parent | b1743cb3c75a943a8a9cb55a3e4355f0133156fe (diff) |
sorcery: Add ast_sorcery_retrieve_by_prefix()
Some consumers of the sorcery API use ast_sorcery_retrieve_by_regex
only so that they can anchor the potential match as a prefix and not
because they truly need regular expressions.
Rather than using regular expressions for simple prefix lookups, add
a new operation - ast_sorcery_retrieve_by_prefix - that does them.
Patches against 13 and 15 have a compatibility layer needed to
maintain ABI that is not needed in master.
Change-Id: I56f4e20ba1154bd52281f995c27a429a854f6a79
Diffstat (limited to 'main/strings.c')
0 files changed, 0 insertions, 0 deletions