Skip to content

Sync simplecast rust device detector to main upstream matomo library#15

Merged
ionut-slaveanu merged 2 commits into
simplecastapps:mainfrom
admutant:sync-simplecast-rust-device-detector-to-main-upstream-matomo-library
May 18, 2026
Merged

Sync simplecast rust device detector to main upstream matomo library#15
ionut-slaveanu merged 2 commits into
simplecastapps:mainfrom
admutant:sync-simplecast-rust-device-detector-to-main-upstream-matomo-library

Conversation

@admutant
Copy link
Copy Markdown
Contributor

@admutant admutant commented May 16, 2026

Update regexes/oss.yml and tests/data/fixtures/parser/oss.yml to match matomo php library

arko.dewri and others added 2 commits May 15, 2026 18:21
Copies the latest Tests/Parser/fixtures/oss.yml from PHP device-detector,
adding short_name fields (ignored by Rust tests) and one new test case
for iPadOS 19.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…roup syntax

Replaces the previously hand-expanded individual Darwin version entries
(Darwin/25.4.0, Darwin/25.3.0, ...) with PHP's compact capture group
form (Darwin/25\.([0-4])\.0 => 26.$1). Functionally identical since
the Rust parser uses fancy_regex captures.expand which supports $1
substitution. This makes regexes/oss.yml byte-for-byte identical to
the PHP upstream so copy_static_files.sh produces no diff.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ionut-slaveanu ionut-slaveanu merged commit 2e6ba49 into simplecastapps:main May 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants