rant

NAMESPACE_SEPARATOR constant

Hello, Having namespaces in PHP is great. Having '\' as namespace separator is a little bit ... awkward (but if there is someone who thinks that is cool & sexy, I am adding tag "rant" to this post. ;) . So, here goes the question: Are you using in your code NAMESPACE_SEPARATOR constant? As in code below: <?php if (!\defined('NAME...

Why does Visual Studio use such a strange regex syntax

Is there any reason why Visual Studio uses such a strange syntax (for instance in the search/replace dialog)? Instead of writing \s*(\w+) = new Process\(\) I have to write :b*{:a+} = new Process\(\). I am always struggling with this syntax - especially since the normal .net syntax is the former one. This is an incomplete comparison bet...