Lea Verou 2009. 12. 03.

Reading cookies the regular expression way

Read Original

This article critiques the common, verbose methods for reading cookies in JavaScript and proposes a more concise, regular expression-based alternative. The author argues that many developers unnecessarily avoid regex and provides their own tested function for efficiently parsing cookie values.

Reading cookies the regular expression way

hozzászólás

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet