Bug 218600

Summary: Uses/elixir.mk: Improve regex conformance
Product: Ports & Packages Reporter: Kyle Evans <kevans>
Component: Ports FrameworkAssignee: Jimmy Olgeni <olgeni>
Status: Closed FIXED    
Severity: Affects Only Me CC: emaste, ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 218495    
Attachments:
Description Flags
svn(1) diff of Mk/Uses/elixir.mk none

Description Kyle Evans freebsd_committer freebsd_triage 2017-04-12 16:53:06 UTC
Created attachment 181728 [details]
svn(1) diff of Mk/Uses/elixir.mk

In EREs, left-brace is not to be interpreted as an ordinary character unless escaped. Using left-brace not as a part of a valid interval expression produces undefined results [1].

There is a patch-in-progress to fix our implementation to throw an error if left-brace is not used in a valid manner. This patch in particular should fix 20 elixir ports and unblock another 27 that were ignored as a result.

[1] http://pubs.opengroup.org/onlinepubs/009696899/basedefs/xbd_chap09.html#tag_09_04_03
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-04-25 08:35:11 UTC
A commit references this bug:

Author: olgeni
Date: Tue Apr 25 08:34:26 UTC 2017
New revision: 439368
URL: https://svnweb.freebsd.org/changeset/ports/439368

Log:
  Fix usage of left braces to be compatible with extended regular
  expressions.

  PR:		218600
  Submitted by:	Kyle Evans

Changes:
  head/Mk/Uses/elixir.mk
Comment 2 Jimmy Olgeni freebsd_committer freebsd_triage 2017-04-25 08:50:36 UTC
(In reply to Kyle Evans from comment #0)

Committed - everything looks good on the elixir side. Thank you!