A Microsoft-sponsored survey found IT security organizations aren't spending enough protecting trade secrets and other key bits of confidential corporate information.
<b>Cyber Cynic:</b> "The new Ubuntu release is almost here and I like the Ubuntu 10.04 desktop a lot. As a Linux expert, it's a little too simple for my personal tastes, but it's the best beginner Linux out of the box I've ever seen."
I am trying to find and process 'java-style' comments within a string in objective-C.
I have a few regex snippets which almost work but I am stuck on one hurdle: different options seem to make the different styles work.
For example, I am using this to match:
NSArray* matches = [[NSRegularExpression regularExpressionWithPattern:expression options:NSRegularExpressionAnchorsMatchLines error:nil] matchesInString:string options:0 range:searchRange];
The options here allow me successfully find and process single line comments (//) but not multiline (/* */), if I change the option to NSRegularExpressionDotMatchesLineSeparators then I can make multiline work fine but I can't find the 'end' of a single line comment.
I suppose really I need dot-matches-line-separators but I need a better way of finding the end of a single line comment?
The regexp I have so far are:
@"/\\*.*?\\*/"
@"//.*$"
it's clear to see if dot matches a line separator then the second one (single line) never 'finishes' but how do I fix this? I found some suggestions for single line that were more like:
@"(\/\/[^"\n\r]*(?:"[^"\n\r]*"[^"\n\r]*)*[\r\n])"
But that doesn't' seem to work at all!
Thanks in advance for any pointers.
<b>Marcel Gagnéamp;#60;/b> "She was directed to me by a colleague of mine who suggested that I might just be the sort of person she wanted to talk to. Specifically, she wanted tech-savvy parents so she could find out how they explain copyright violations to their children."
<b>OSNews:</b> "Now with the rise of mobile devices with touchscreen and wireless network connectivity virtually everywhere, the question becomes valid, what will happen with the desktop computers, are they still needed, or will they follow the workstations on their way to computer museums?"
Can a netbook be a small business computer? Our guide helps you choose a netbook PC that can handle everyday business tasks at a very affordable price.
<b>Jim Lynch: </b>"I don't know about you but I've been amused at the amount of coverage in the media about Sony pulling the plug on alternative operating systems on the PS3."
This ASP.NET tutorial shows how to enhance the store locator results map to display each nearby store using a custom marker icon; plus, how to display details about the store location when its marker is clicked.
<b>OS News: </b>"And so the suing continues. Apple and Nokia aren't particularly friendly towards one another as of late, with both companies accusing each other of infringing upon one another's patents."
Do you need to create Dynamic Where Clauses at runtime? No need to use string concatenation with SQL, LINQ is fully capable of performing the same task.
A free marketing tool to help you track your goals, a site to let you know if someone's stolen your Web images and a place where everything costs you $5.
A free marketing tool to help you track your goals, a site to let you know if someone's stolen your Web images and a place where everything costs you $5.
<b>LinuxLinks: </b>"To provide an insight into the quality of software that is available, we have compiled a list of 5 useful Linux logfile viewers. Hopefully, there will be something of interest for anyone needing to examine and process logfile data."
Popular social networking sites like Facebook and Twitter can be great for business but things can get out of control if the proper policies aren't in place and enforced.
The course is devoted to creation of 64-bit applications in C/C++ language and is intended for the Windows developers who use Visual Studio 2005/2008/2010 environment.
<b>Howtoforge:</b> "This tutorial shows how to harden PHP5 with Suhosin on a CentOS 5.4 server. From the Suhosin project page: "Suhosin is an advanced protection system for PHP installations that was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core."
MySQL has an interesting architecture that sets it apart from some other enterprise database systems. It allows you to plug in different modules to handle storage. What that means to end users is that it is quite flexible, offering an interesting array of different storage engines with different features, strengths, and tradeoffs.