This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(var i = 0, len = localStorage.length; i < len; i++){ | |
var key = localStorage.key(i); | |
var value = localStorage[key]; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** Look arounds ** | |
Positive lookahead: q(?=u) // find q followed by u | |
Negative lookahead: q(?!u) // find q not followed by u | |
Positive lookbehind: (?<=a)b // find b preceeded by a. CANNOT BE VARIBLE LENGTH | |
Negative lookbehind: (?<!a)b // find b not preceeded by a. CANNOT BE VARIBLE LENGTH | |
** Atomic grouping ** | |
NewerOlder