Opened 6 years ago

Closed 4 years ago

#547 closed Bugs (invalid)

comments in extended regular expressions

Reported by: specialtouch Owned by: nobody
Priority: 1 Milestone: 1.5.0
Component: PHP Parser Version: 1.2.0-nightly
Keywords: formatter, code style Cc:

Description (last modified by ed_mann)

PHPeclipse doesn't correctly color comments inside an extended regular expression.

$regex = "/
    \d{3}        # area code (can't start with 1)
    \D*          # optional seperator
    \d{3}        # 3-digit prefix
    [-\s.]       # another separator
    \d{4}        # 4-digit line number
/x"; 

Okay, so this is pretty minor and maybe not worth the overhead to fix, but I noticed and thought I'd mention it.


Change History (3)

comment:1 Changed 5 years ago by ed_mann

  • billable set to 0
  • Component changed from PHP Editor to PHP Parser
  • Description modified (diff)
  • Keywords formatter, code style added
  • os_platform set to Linux
  • Version changed from None to 1.2.0-nightly

Just adding some tags to help group bugs together

comment:2 Changed 5 years ago by ed_mann

  • Milestone set to 1.5.x

comment:3 Changed 4 years ago by incastrix

  • Resolution changed from None to invalid
  • Status changed from assigned to closed

too complex!

Note: See TracTickets for help on using tickets.