Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

正規表現ライブラリのオプション PCRE を Glib Regex と入れ替える #361

Closed
ma8ma opened this issue Jun 23, 2020 · 3 comments

Comments

@ma8ma
Copy link
Collaborator

ma8ma commented Jun 23, 2020

使用する正規表現ライブラリを指定するconfigureオプションのうち、PCRE(--with-regex=pcre)を廃止してかわりにGlib Regex(--with-regex=glib)を追加することを提案します。

動機

Glib Regex(GRegex)はGlibライブラリに含まれており現在の要件では依存関係を追加せずに使用することが可能です。
GRegexはPerl互換の構文を持ちPOSIX regexより多機能のため、将来的にはGRegexをデフォルトにしたいと考えています。

ビルドオプションを増やすとテストにかかる時間が増えるため、同じくPerl互換であるPCREを廃止してオプション数を維持します。

作業 (2021-01-16 更新)

  1. (Add configure option for Glib Regex #362) GRegexを利用するconfigureオプション --with-regex=glib を追加する
  2. (Deprecate configure option for PCRE #363) PCREを利用するconfigureオプション --with-regex=pcre を廃止予定にする
  3. (Remove deprecated configure option --with-regex=pcre #408) PCREを利用するconfigureオプション --with-regex=pcre をエラーにする
  4. (Change default regex library to Glib Regex #451) デフォルトの正規表現ライブラリをGRegexにする
  5. (Remove obsolete configure options #567) 廃止したconfigureオプションを削除する

パッチ

ma8ma#42 を参照してください。

@ma8ma
Copy link
Collaborator Author

ma8ma commented Jun 27, 2020

PCREサポートの廃止は0.4.0リリース以降に行います。

@ma8ma ma8ma added this to In progress in State of JDim-v0.4.0+ Jun 27, 2020
@ma8ma ma8ma moved this from To do to In progress in State of JDim-v0.3.0+ Jun 27, 2020
@ma8ma
Copy link
Collaborator Author

ma8ma commented Jul 19, 2020

configureオプション--with-regex=pcreの完全削除は0.5.0リリース以降に行う予定です。

@ma8ma
Copy link
Collaborator Author

ma8ma commented Jan 16, 2021

廃止したconfigureオプションを削除しましたのでissueを閉じます。(#567)

@ma8ma ma8ma closed this as completed Jan 16, 2021
State of JDim-v0.5.0+ automation moved this from In progress to Done Jan 16, 2021
@ma8ma ma8ma moved this from In progress to Done in State of JDim-v0.4.0+ Jan 16, 2021
@ma8ma ma8ma moved this from In progress to Done in State of JDim-v0.3.0+ Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 機能の追加と削除
Projects
No open projects
Development

No branches or pull requests

1 participant