44
rated 0 times
[
45]
[
1]
/ answers: 1 / hits: 10490
/ 10 Years ago, thu, march 6, 2014, 12:00:00
I am using URL Matching with parent domain and I-Frame domain. Getting this error to put the below code inside Java Class.
out.print(ref = url.match(/://(.[^/]+)/)[1];);
Getting Error for this line:
Invalid escape sequence (valid ones are b t n f r ' \ )
Original script:
out.print(<script>);
//need to put below line inside java class, so using out.print( );
ref = url.match(/://(.[^/]+)/)[1];
out.print(</script>);
How to use this correctly?
More From » java