Skip to content

Commit

Permalink
lib.xsd_regexp: remove obsolete match.digit
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Jan 11, 2018
1 parent 5eaf4ac commit ba292f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/xsd_regexp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ function capture.quantifier ()
)
end

function match.digit (s)
return match.satisfies(function (s) return member(s, "0123456789") end)
end

function capture.quantity ()
return combine._or(
capture.quantRange(),
Expand Down

0 comments on commit ba292f0

Please sign in to comment.