Bug 218600 - Uses/elixir.mk: Improve regex conformance
Summary: Uses/elixir.mk: Improve regex conformance
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jimmy Olgeni
Depends on:
Blocks: 218495
  Show dependency treegraph
Reported: 2017-04-12 16:53 UTC by Kyle Evans
Modified: 2017-04-25 08:50 UTC (History)
2 users (show)

See Also:

svn(1) diff of Mk/Uses/elixir.mk (1.08 KB, patch)
2017-04-12 16:53 UTC, Kyle Evans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Evans freebsd_committer 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 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

  Fix usage of left braces to be compatible with extended regular

  PR:		218600
  Submitted by:	Kyle Evans

Comment 2 Jimmy Olgeni freebsd_committer 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!