These additions make the regular expressions more concise, and sometimes more cryptic, but usually not more powerful: these fancy new regular expressions almost always have longer equivalents using the traditional syntax. One common regular expression extension that does provide additional power is called...
“You can watch if you like,” offered Matt generously. “We wouldn’t mind.” “I might take you up on that,” said Jordan. “However, to more serious matters. When I said that you both deserved a spanking, I was using the word in its widest sense.” Phil, who had been sitting...
As you do not need to be an administrator to modify these settings, users can set them to whatever they want, including automatically running whatever malware is on the drive they found in the parking lot. In fact, they can do it by checking the appropriate box in the AutoPlay dialog....
“If you can find a sledge-hammer,” I said with a grin, “I’ll hold him down while you make an impression on him.” The boy laughed. “Come on! Let’s get this monster to the check-out and then we’ll show Lord Scumbag what good boys we are, and take it to his Bentley,...
Can we use wild card for file check? Can window.open add a parameter to set up popup windows as a modal windows? Can you get ContentType for file already saved on server? Can you load and iframe from a byte array Can you place a form inside a content page? can't access maste...
Sometimes when it gets really busy, I work at the check-out counter. Have you got a job, Johnson? M: Yeah, I do yard work for people. You know, cutting grass, raking leaves, pulling weeds, things like that. W: I' d like to do that. It must be nice to work outdoors. M: ...
If you want to select something, you immediately know where to look. Interspersing them in amongst regular expressions loses that, and it's not like the top-level namespace isn't already quite full ;)) So, while selectors are a type of expression, and use expressions, they are also ...
You can use the four-argument form of sysread to continually add to a buffer. After you add to the buffer, you check if you have a complete line (using your regular expression). local $_ = ""; while( sysread FH, $_, 8192, length ) { while( s/^((?s).*?)your_pattern// ) ...
You can create what looks like checkboxes and display completed tasks with a checkmark. It takes the form of an unordered list with the first characters being a set of square brackets which MUST have a space in them. For a completed task, add either a lower or uppercase "X": Incomplete...
If strSearchString is not empty our next task is to make sure that there are only two characters in the string (you can’t map a drive to, say, drive ABCDE:). Although we could have created a more-complicated regular expression to check for string length we thought it...