javascript - The Safari Back Button Problem

javascript - The Safari Back Button Problem

I do some minor programming and web work for a local community college. Work that includes maintaining a very large and soul destroying website that consists of a hodge podge of VBScript, javascript,…


Capturing a repeated group

I am attempting to parse a string like the following using a.NET regular expression: H3Y5NC8E-TGA5B6SB-2NVAQ4E0 and return the following using Split: H3Y5NC8E TGA5B6SB 2NVAQ4E0 I validat…


php - Track when user hits back button on the browser

Is it possible to detect when the user clicks on the browser's back button? I have an Ajax application and if I can detect when the user clicks on the back button I can display the appropriate data b…


How do you capture stderr, stdout, and the exit code all at once, in Perl?

Is it possible to run an external process from Perl, capture its stderr, stdout AND the process exit code? I seem to be able to do combinations of these, e.g. use backticks to get stdout, IPC::Open3 t…


javascript - Regexp matching of list of quotes strings-unquoted

in Javascript, the following: var test='"the quick" "brown fox" "jumps over" "the lazy dog"'; var result=test.match(/".*?"/g); alert(result); yields "the quick","brown fox","jumps over","the lazy…


javascript - Is there a cross-browser onload event when clicking the back button?

For all major browsers(except IE), the JavaScript onload event doesn’t fire when the page loads as a result of a back button operation — it only fires when the page is first loaded. Can someone point…


javascript - Detecting Back Button/Hash Change in URL

I just set up my new homepage at http://ritter.vg. I'm using jQuery, but very minimally. It loads all the pages using AJAX-I have it set up to allow bookmarking by detecting the hash in the URL.…


c - Drag and drop in winapi

I have a pure Winapi application that needs a few new features. One of them would best be implemented as two lists where you can drag-and-drop(multiple) elements between the lists. The new feature c…


How do I get Fiddler to stop ignoring traffic to localhost?

When using Fiddler to monitor HTTP Requests & Responses in Internet Explorer it ignores all traffic directed to http://localhost.…


regex - Exclusive Or in Regular Expression

Looking for a bit of regex help. Id like to design an expression that matches a string with "foo" OR "bar" but not both "foo" AND "bar" If I do something like.../((foo)|(bar))/ Itll match "foobar".…





javascript non group regex capture event how not match multiple