This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 238323 - False error with ng-href and ng-src directive
Summary: False error with ng-href and ng-src directive
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-13 15:01 UTC by Vladimir Riha
Modified: 2014-02-17 08:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-11-13 15:01:32 UTC
Please try e.g.:

 <a data-ng-href="http://services.netbeans.org/synergy/{{specification.simpleName}}/{{specification.version}}"></a>


or


<img ng-src="http://services.netbeans.org/synergy/{{specification.simpleName}}/{{specification.version}}"></img>


=> Unsupported RegExp flag: s /services.netbeans.org/synergy/{

However this is valid usage

Product Version: NetBeans IDE Dev (Build 201311130002)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2014-02-12 14:48:44 UTC
Should be ok now.
Comment 2 Vladimir Riha 2014-02-17 08:40:02 UTC
It is, thank you. Verified

Product Version: NetBeans IDE Dev (Build 201402160001)
Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b129
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)