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!
Sed (streaming editor) big time mnajem @zalzalah ~ $ cat ustazasri.txt >Kuliah Dr. Mohd. Asri Zainul Abidin (Julai 2005) >>Tarikh >>Tempat >>Waktu >>Tajuk >>15 Julai 2005 JUMAAT >>Surau al-Muhajirun, Taman Sri Ukay, Ampang >>Selepas Maghrib >>Riyadh al-Salihin (Kitab Perkara yang Ditegah) >>16 Julai 2005 SABTU >>Balai Budaya Tun Syed Nasir, DBP Kuala Lumpur >>8.30 pagi ¿ 1.00 tgh >>DEBAT Astora Jabat vs Dr. Mohd. Asri ¿ Gerakan Tajdid: Satu Perbincangan >>17 Julai 2005 AHAD >>Dewan Kuliah, Balai Islam Masjid al-Ghufran, Pinggiran Taman Tun Dr. Ismail >>10.00 pagi >>Riyadh al-Salihin (Kitab Perkara yang Disuruh, Bab al-Taqwa, Bab ke-6) >>17 Julai 2005 AHAD >>Masjid Jamek Abdul Aziz, Jalan Templer, Petaling Jaya >>Selepas Maghrib >>Sahih al-Bukhariy (Kitab al-Iman) >>*Kuliah Maghrib di Masjid Al-Syakirin, Bandar Utama dibatalkan.> mnajem@zalzalah ~ $ sed -i...
........speechless Salam, Aku lately mengalami masalah kesempitan wang yang serius disebabkan kereta satria aku yang berusia 10 tahun ada major repair.. dalam bulan ni je untuk kereta aku abis RM600 untuk maintenance. Ganti spectacle lagi. Accumulated maintaince expense untuk keta yang aku beli sejak Disember 2005 ni dekat RM3000 jugak. Ganti absorber,ganti tayar (haritu kan pancit-tayar last yang aku tak penah ganti pancit balik dari Kangar. Tayar tu tahun 2001. Owner lama tak tukar. Nasib la). Gaji macam aku ni dok seorang pun dah boleh jadi defisit, nak bayar PTPTN(auto deduct), loan laptop aku 2 tahun, then medical card(aku memikirkan sebab arwah abang aku dulu pernah kena kanser umur 29 tahun.. dan kebetulan dia ambik insurans tu tak jauh tarikh dari dia kena sakit tu, kampeni insurans tak nak bayar sebab assume dia dah tau sakit baru ambik polisi. Nak buat macam mana. So sewaktu sihat la fikir nak ambil polisi gini). Memang ada medical benefit, tapi kita tak tau future jadi apa, ...