Now what if you want the comparison to be case insensitive? All you do is add the letter i after the ending delimiter:
$string =~ m/^sought_text$/i;
Category Archives: Development
MIT Completes the “Holy Grail of Hacks,” Turning the Green Building into a Game of Tetris
Home of the Institute’s Department of Earth, Atmospheric and Planetary Science, the Green Building lends itself as an ideal grid for the game. According to the IHTFP Hack Gallery, “MIT hackers have long considered ‘Tetris on the Green Building’ to be the Holy Grail of hacks.”
regex – How do you match only valid roman numerals with a regular expression?
^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$
via regex – How do you match only valid roman numerals with a regular expression? – Stack Overflow.
.epub eBooks Tutorial – Part 1: Format Your Source Content
Speaking of CSS, that’s where you want to do all your styling. It’s the preferred way to stylize things in both XHTML and the ePub standard. (There are a very few reader programs out there that won’t recognize CSS. Mot of them do by now though, and if you keep the HTML to the basics, the book will still be readable if the reader program doesn’t recognize CSS.
via .epub eBooks Tutorial – Part 1: Format Your Source Content.
cfpb (Consumer Financial Protection Bureau) · GitHub
HTML Codes – Table of ascii characters and symbols
Perl Reference
Why search yourself, though? perldoc’s -f switch searches perlfunc for you, presenting only the documentation for the named operator. Type instead:
$ perldoc -f substr
Researchers Seek Help in Solving DuQu Mystery Language
While other parts of DuQu are written in the C++ programming language and are compiled with Microsoft’s Visual C++ 2008, this part is not, according to Alexander Gostev, chief security expert at Kaspersky Lab. Gostev and his team have also determined that it’s not Objective C, Java, Python, Ada, Lua or many other languages they know.
via Researchers Seek Help in Solving DuQu Mystery Language | Threat Level | Wired.com.
The module is an important part of DuQu’s payload — which is the part of DuQu that performs malicious functions once it’s on an infected machine. The module allows DuQu’s DLL file to operate completely independent of other DuQu modules. It also takes data stolen from infected machines and transmits it to command-and-control servers and has the ability to distribute additional malicious payloads to other machines on a network, in order to spread the infection.
NSIS Wiki
From NSIS WikiNSIS Nullsoft Scriptable Install System is a professional open source system to create Windows installers. It is designed to be as small and flexible as possible and is therefore very suitable for internet distribution.
via NSIS Wiki.
Version Control with Subversion
This is the home of Version Control with Subversion, a free book about the ubiquitous Apache™ Subversion® version control system and written by some of the developers of Subversion itself.
As you may have guessed from the layout of this page, we are quite pleased that some versions of this book have been published by O’Reilly Media. You can certainly buy a traditionally published print copy of the book if you’d like to, but you’ll always find the most recent versions here on this site, available in both HTML and PDF formats.