Skip to content

Commit

Permalink
Remove GroupMatch #133
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Jun 6, 2022
1 parent 8a527a0 commit 9fd3bff
Show file tree
Hide file tree
Showing 26 changed files with 2 additions and 2,748 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Added in 0.28.1
. Now it throws `InvalidArgumentException`.
* Calling `Detail.group().toInt()` with invalid integer base on an unmatched group, threw `GroupNotMatchedException`
. Now it throws `InvalidArgumentException`.
* Breaking changes
* Removed previously deprecated `Pattern.match().group()`.

Added in 0.28.0
---------------
Expand Down
74 changes: 0 additions & 74 deletions src/CleanRegex/Internal/GroupMatchFindFirst.php

This file was deleted.

82 changes: 0 additions & 82 deletions src/CleanRegex/Internal/Match/Stream/Base/MatchGroupIntStream.php

This file was deleted.

85 changes: 0 additions & 85 deletions src/CleanRegex/Internal/Match/Stream/Base/MatchGroupStream.php

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions src/CleanRegex/Internal/Pcre/Legacy/UsedForGroup.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?php
namespace TRegx\CleanRegex\Internal\Pcre\Legacy;

use TRegx\CleanRegex\Internal\GroupMatchFindFirst;
use TRegx\CleanRegex\Internal\Match\Stream\Base\MatchGroupStream;

/**
* @deprecated
*/
Expand All @@ -12,16 +9,13 @@ interface UsedForGroup
/**
* @see MatchDetail::get
* @see MatchedGroup
* @see MatchGroupStream::all
* @see GroupsFacade which is called by everything that calls {@see getGroupTextAndOffset}
*/
public function isGroupMatched($nameOrIndex): bool;

/**
* @see MatchDetail::get
* @see MatchedGroup
* @see GroupMatch
* @see GroupMatchFindFirst
* @see MatchDetail::group
*/
public function getGroupTextAndOffset($nameOrIndex): array;
Expand Down
Loading

0 comments on commit 9fd3bff

Please sign in to comment.