diff --git a/README.md b/README.md index 1c32671..755230e 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ index = .index() # Returns first index of item. .insert(index, ) # Inserts item at index and moves the rest to the right. = .pop([index]) # Removes and returns item at index or from the end. .remove() # Removes first occurrence of item or raises ValueError. -.clear() # Removes all items. +.clear() # Removes all items. Also works on dict and set. ``` @@ -324,6 +324,9 @@ import re = .group() # Whole match. = .group(1) # Part in first bracket. = .groups() # All bracketed parts. +``` + +```python = .start() # Start index of a match. = .end() # Exclusive end index of a match. ``` diff --git a/index.html b/index.html index 9f2faeb..2c11b53 100644 --- a/index.html +++ b/index.html @@ -241,7 +241,7 @@ list_of_chars = list(<str>) <list>.insert(index, <el>) # Inserts item at index and moves the rest to the right. <el> = <list>.pop([index]) # Removes and returns item at index or from the end. <list>.remove(<el>) # Removes first occurrence of item or raises ValueError. -<list>.clear() # Removes all items. +<list>.clear() # Removes all items. Also works on dict and set.

#Dictionary

<view> = <dict>.keys()                          # Coll. of keys that reflects changes.
@@ -419,7 +419,8 @@ Point(x=1, y=2
 
<str>   = <Match>.group()   # Whole match.
 <str>   = <Match>.group(1)  # Part in first bracket.
 <tuple> = <Match>.groups()  # All bracketed parts.
-<int>   = <Match>.start()   # Start index of a match.
+
+
<int>   = <Match>.start()   # Start index of a match.
 <int>   = <Match>.end()     # Exclusive end index of a match.
 

Special Sequences