Skip to main content
Space Explosion: How it really relates to regular expression



In my mini thesis, I concentrating on pattern matching algorithm which relates to packet payload processing. During my literature reviews, I came across to regular expression "space explosion". The phrase rather seems remind me to inter galactic war in Star Trek, Starwars, Battlestar Galactica or things like that.

Dealing with regular expression led me to read more: time & space consideration. Somehow it led me to think about Quantum Physic (which unfortunately I never learn pure sciences subject during my secondary school, so I'll avoid to elaborate things I didn't know).

I did google to the Internet and try to use "space explosion" and pair with regular expression phrase.

Quoting this paper:
Pattern matching using regular expressions is distinct from static pattern
matching, where the input string is matched against other literal strings. In regular expressions, meta-characters with special meaning are used, and a single regular expression can represent several strings. Regular expressions augment the challenges of static pattern matching (e.g., overlapped matching) with other ones, such as space explosion (regular expressions can represent very large strings in a very compact form)
So I guess "space explosion" means character such as asterisk(*) or decimal/period(.) which led to many pattern being greedily grabbed and fetch either to standard output or input.

Am I correct here?

*pix taken from here

Comments

Popular posts from this blog

Gue dengan S2 gue. Sronok banget!

Vultr - another reliable alternative for SEA Virtual Private Server!

I have been using Vultr  as my recent VPS now, since it has just a nearby Data Center in Singapore (sadly, Malaysian VPS is always expensive.. so the best option is DC in Singapore - most of the time). It provides free trial credit for around USD5.. and +USD2 if you did a social media integration/sharing with Twitter. Try it now. Click Vultr