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 170300 - Regular expressions highlighting
Summary: Regular expressions highlighting
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 00:38 UTC by samdark
Modified: 2012-04-24 12:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description samdark 2009-08-13 00:38:15 UTC
It would be handy to have regular expressions highlighted when used like this:
preg_replace('~<a href=".*?">(.*?)</a>~is', '', $test);

In this case I've used ~ but it can be any other character.

Need highlighting in all preg functions: http://ru.php.net/manual/en/ref.pcre.php

Don't need ereg since it's deprecated.

It's implemented in IntelliJ IDEA WebIDE.
Comment 1 Filip Zamboj 2010-09-15 12:29:41 UTC
batch reassigning