Skip to content

Commit

Permalink
remove unused character sets
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Feb 4, 2015
1 parent 8a10747 commit 3166fb7
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions library/types/src/modules/String.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def main
@clower = "abcdefghijklmnopqrstuvwxyz"
@calpha = Ops.add(@cupper, @clower)
@cdigit = "0123456789"
@cxdigit = Ops.add(@cdigit, "ABCDEFabcdef")
@calnum = Ops.add(@calpha, @cdigit)
@cpunct = "!\"\#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"
@cgraph = Ops.add(@calnum, @cpunct)
Expand Down Expand Up @@ -659,11 +658,6 @@ def FirstChunk(s, separators)
Ops.get(l, 0, "")
end

# The 26 uppercase ASCII letters
def CUpper
@cupper
end

# The 26 lowercase ASCII letters
def CLower
@clower
Expand All @@ -679,31 +673,16 @@ def CDigit
@cdigit
end

# Hexadecimal digits: 0123456789ABCDEFabcdef
def CXdigit
@cxdigit
end

# The 62 upper and lowercase ASCII letters and digits
def CAlnum
@calnum
end

# The ASCII printable non-blank non-alphanumeric characters
def CPunct
@cpunct
end

# Printable ASCII charcters except whitespace, 33-126
def CGraph
@cgraph
end

# ASCII whitespace: SPACE CR LF HT VT FF
def CSpace
@cspace
end

# Printable ASCII characters including whitespace
def CPrint
@cprint
Expand Down Expand Up @@ -1314,15 +1293,11 @@ def ReplaceWith(str, chars, glue)
publish function: :CutRegexMatch, type: "string (string, string, boolean)"
publish function: :EscapeTags, type: "string (string)"
publish function: :FirstChunk, type: "string (string, string)"
publish function: :CUpper, type: "string ()"
publish function: :CLower, type: "string ()"
publish function: :CAlpha, type: "string ()"
publish function: :CDigit, type: "string ()"
publish function: :CXdigit, type: "string ()"
publish function: :CAlnum, type: "string ()"
publish function: :CPunct, type: "string ()"
publish function: :CGraph, type: "string ()"
publish function: :CSpace, type: "string ()"
publish function: :CPrint, type: "string ()"
publish function: :ValidCharsFilename, type: "string ()"
publish function: :TextTable, type: "string (list <string>, list <list <string>>, map <string, any>)"
Expand Down

0 comments on commit 3166fb7

Please sign in to comment.