package re2
OCaml bindings for RE2, Google's regular expression library
Install
Dune Dependency
Authors
Maintainers
Sources
re2-v0.12.0.tar.gz
sha256=8966e3ceade876af6542af41efc350261e5b70c1cd6b42ad698b80e486bba14e
md5=fcf5dc32f1a325f135624f1a3676539e
doc/re2/Re2/Regex/Multiple/index.html
Module Regex.Multiple
val create :
?options:Options.t ->
(string * 'a) list ->
'a t Core_kernel.Or_error.t
create ?options [ (pattern1, value1); (pattern2, value2); ...]
associates each pattern
with its value
. The same options
are used for all patterns.
val matches : 'a t -> string -> 'a list
matches t input
returns the values associated with those patterns that match the input
. Values are in the order that create
saw them.
val matches_no_order : 'a t -> string -> 'a list
Like matches
, but values are listed in unspecified order.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>