:-(module(regex)).
:-(export(','(/(compile_pattern,3),','(/(match,2),','(/(match,3),','(/(match,4),','(/(matchsub,4),','(/(matchall,4),/(split,4))))))))).
:-(','(get_flag(hostarch,A),','(get_flag(object_suffix,B),','(concat_string([A,"/eregex.",B],C),;(->(exists(C),','(load(C),','(external(/(compile_pattern,3),ec_regcomp),','(external(/(match,3),ec_regmatch),','(external(/(match,4),ec_regmatch4),','(external(/(matchsub,4),ec_regmatchsub),','(external(/(matchall,4),ec_regmatchall),external(/(split,4),ec_regsplit)))))))),compile_term([:-(compile_pattern(D,E,F),error(141,compile_pattern(D,E,F))),:-(match(D,G,E),error(141,match(D,G,E))),:-(match(D,G,E,H),error(141,match(D,G,E,H))),:-(matchsub(D,G,E,H),error(141,matchsub(D,G,E,H))),:-(matchall(D,G,E,H),error(141,matchall(D,G,E,H))),:-(split(D,G,E,H),error(141,split(D,G,E,H)))])))))).
:-(:(sepia_kernel,store_pred(/(match,2),[](o(101),a(3),o(342),proc(/(match,3)),1,'//C/cygwin64/home/jschimpf/Eclipse/rotds/patches_7_2-2026-07-26-0059/build/icparc_solvers/regex.ecl',65,2347,2353,o(151),proc(/(match,3)),o(0),ref(4),0),14,12,524288,'//C/cygwin64/home/jschimpf/Eclipse/rotds/patches_7_2-2026-07-26-0059/build/icparc_solvers/regex.ecl',64,2320))).
