09-21-2009 06:09 PM
var regex = /[/]([^-/]*)-([^/]*)/g;
I only know this as a regular expression literal so i'd love it if someone could tell me the correct name for this syntax. It is common all over the web and seems to occur in every jscript library I use.
The following line does seem to work but of course, that means I have to edit my "off the shelf" libraries to make them compatible with the blackberry... Something i'm less than thrilled to have to do...
var regex = new RegExp("[/]([^-/]*)-([^/]*)", "g");
I recon my biggest question is whether this is a known issue with the blackberry browser and whether it's likely to be fixed in the near future...