Skip to content

Commit

Permalink
removed wip comments from source code
Browse files Browse the repository at this point in the history
  • Loading branch information
daveoncode committed Aug 4, 2015
1 parent 90bc968 commit 6a35ae9
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions string_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
IP_RE = re.compile(r'^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$')
WORDS_COUNT_RE = re.compile(r'\W*[^\W_]+\W*', re.IGNORECASE | re.MULTILINE | re.UNICODE)


# string checking functions


Expand Down Expand Up @@ -359,27 +360,3 @@ def shuffle(string):
s = sorted(string) # turn the string into a list of chars
random.shuffle(s) # shuffle the list
return ''.join(s) # convert the shuffled list back to string

# NEW FUNCTIONS
# def is_multiline(string):
# pass
#
# def is_zip_code(string, country_code=None):
# pass
#
# def is_slug(string):
# pass
#
# def slugify(string):
# pass
#
# def contains_html(string):
# pass
#
# def strip_html(string, preserve_tag_content=False):
# pass
#
# ' unprettified string ,, like this one,will be"prettified" .it' s awesome!( like python)) '
# 'Unprettified string, like this one, will be "prettified". It's awesome! (like python)'
# def prettify(string):
# pass

0 comments on commit 6a35ae9

Please sign in to comment.