inverse-match

How to "inverse match" with regex?

I'm using RegexBuddy but I'm in trouble anyway with this thing :\ I'm processing line by line a file. I built a "line model" to match what I want. Now i'd like to do an inverse match... i.e. I want to match lines where there is a string of 6 letters, but only if these six letters are not Andrea, how should I do that? EDIT: I'll writ...

Latex Inverse search from a pdf in Okular to TexMaker

I am using TexMaker of Karmic Ubuntu with Okular. I use pdfLatex to compile and I view the PDFs in Okular. How can I configure Okular to inverse search with TexMaker? I have tried the following code: texmaker %f -line %l but it does not work. I have tried double clicking, ctrl+click, shift+click, ctrl+shift+click, ctrl+alt+click, alt+s...

How do I restrict a string to a specific set of characters in JavaScript?

To put this in context, consider these 2 functions: ml_RestrictToChars = function(input,regex) { var result = '';var c = ''; var rx = new RegExp(regex); for (var i = 0; i < input.length; i++) { c = input.charAt(i); if (rx.test(c)) { result += c; } } return result; }; ml_OmitChars =...