Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

DBD::SQLite: implement REGEXP for PerlOnJava

クローズ
#1,400 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
perl, sqlite
領域
databases

調査の方向性

PerlOnJava DBI/SQLite パスとバンドルされた SQLite 互換性レイヤーから始め、その後、システム Perl による検証を使用して PerlOnJava DBI 経由で対象を絞ったリグレッションを実行します。互換性のある REGEXP の動作が登録され、JVM とインタープリターのバックエンドでリグレッションに合格し、Locale::Unicode::Data v1.9.0 の REGEXP を使用するテストに合格し、Unicode の失敗が issue #1374 の下に残っていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

Summary

The bundled PerlOnJava SQLite compatibility layer does not provide the SQLite REGEXP function expected by Locale::Unicode::Data v1.9.0.

Reproduction

CPAN random tester run: 20260916-111623-23683

Distribution: Locale::Unicode::Data v1.9.0

The upstream test suite exercises queries such as:

field REGEXP(?)

Under PerlOnJava, these queries fail with:

DBI prepare failed: no such function: REGEXP

The failure is observed in the collations and unit_aliases paths, and also prevents the related timezone-format query from completing.

Expected result

The unchanged upstream suite passes under system Perl: 11 test files and 741 tests successful.

Actual result

PerlOnJava reports 17 failed subtests out of 741. The failures include the separate Unicode mojibake problem already tracked in issue #1374; this issue is specifically for the missing SQLite REGEXP function.

The failure reproduces through the PerlOnJava DBI/SQLite path and is independent of an external database service.

Impact

DBD::SQLite has 588 unique released CPAN distributions with runtime dependencies, including 118 released within the last three years. Representative recent dependants include DBIx-Lite, Database-Join, Finance-Tiller2QIF, HTTP-Cookies-Chrome, and Punk-Queue.

Acceptance criteria

  • Add a focused, system-Perl-validated regression for a SQLite REGEXP query through PerlOnJava DBI.
  • Implement or register compatible REGEXP behavior in the bundled SQLite layer.
  • Verify Locale::Unicode::Data v1.9.0 passes its REGEXP-using tests on both JVM and interpreter backends.
  • Keep Unicode decoding failures tracked separately under issue #1374.
主要言語
Perl
スター
64
フォーク
7
平均マージ
4時間 27分
マージ済み PR(30日)
178

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fglock/PerlOnJava のほかの issue

fglock/PerlOnJava の issue をすべて見る

似ている issue

Perl の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。