regex - please explain this regular expression -


  ^[[:space:]]*@ 

i can't figure out [[:space:]]* means in above regular expression. please help, thanks!

this posix character class, in case unicode-friendly way of representing "any whitespace character".

see this page, scroll down "posix character classes".


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -