Skip to content

Commit df9354f

Browse files
committed
emojis in titles
1 parent 75dba34 commit df9354f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Like what we're doing? Show your support with a quick star, please! ⭐
4343
- 💠 [Non-Capturing Groups](#non-capturing-groups)
4444
- 💠 [Groups with quantifier](#groups-with-quantifier)
4545
-[Conditional matching](#conditional-matching)
46-
- [Pattern alternation (orPattern)](#pattern-alternation-orpattern)
46+
- ⚖️[Pattern alternation (orPattern)](#pattern-alternation-orpattern)
4747

4848
# Overview
4949

@@ -77,7 +77,7 @@ EloquentRegex::start("#hello #world This is a #test")->hash()->text()->get();
7777
// ['#hello', '#world', '#test']
7878
```
7979

80-
## Key Features
80+
## Key Features🔑
8181

8282
- **Ready-to-Use Patterns**: Common patterns like emails, URLs, and IP addresses are pre-defined and ready to go. Just a few keystrokes and you're validating.
8383
- **Custom Patterns Made Easy**: Build your own regex patterns with an easy-to-use, fluent interface. Say hello to readable regex!
@@ -86,7 +86,7 @@ EloquentRegex::start("#hello #world This is a #test")->hash()->text()->get();
8686

8787
_For more details about package and it's inner workings check out [STRUCTURE.md](https://github.com/MaestroError/eloquent-regex/blob/update-documentation-and-add-advanced-usage-section/STRUCTURE.md) file._
8888

89-
## Getting Started
89+
## Getting Started🧭
9090

9191
Simply install the package via Composer, and you're ready to take the pain out of regex in your PHP/Laravel applications. Run for installation:
9292

@@ -155,7 +155,7 @@ EloquentRegex::source($yourString)->url()->count();
155155
EloquentRegex::source($yourString)->url()->toRegex();
156156
```
157157

158-
## Ready-to-Use Patterns
158+
## Ready-to-Use Patterns📑
159159

160160
EloquentRegex comes with a set of predefined patterns for common validation/extraction tasks. These patterns are designed to be straightforward and easy to use, requiring minimal effort to implement.
161161

@@ -272,7 +272,7 @@ public function filePathWin(
272272

273273
Didn't it cover all your needs? Let's take a look to the custom patterns section.
274274

275-
## Custom Patterns
275+
## Custom Patterns🛠️
276276

277277
For scenarios where predefined patterns do not suffice, EloquentRegex allows you to define custom patterns using the start or customPattern methods as initiator:
278278

@@ -311,7 +311,7 @@ Custom pattern builder supports a wide range of character classes and all specia
311311
- [Groups](https://github.com/MaestroError/eloquent-regex/blob/documentation-and-examples/src/Traits/BuilderPatternTraits/GroupsTrait.php)
312312
- [Anchors](https://github.com/MaestroError/eloquent-regex/blob/documentation-and-examples/src/Traits/BuilderPatternTraits/AnchorsTrait.php)
313313

314-
## Applying Quantifiers
314+
## Applying Quantifiers#️⃣
315315

316316
Quantifiers in regular expressions are symbols or sets of symbols that specify how many instances of a character, group, or character class must be present in the input for a match to be found. EloquentRegex enhances the way quantifiers are used, making it simpler and more intuitive to define the frequency of pattern occurrences.
317317

@@ -416,7 +416,7 @@ As you become more comfortable with the basics of EloquentRegex, you might find
416416

417417
Whether you're dealing with intricate string formats, dynamic pattern requirements, or simply looking to optimize your regex operations for performance and clarity, this section will guide you through the advanced features of EloquentRegex. You'll learn how to leverage the full power of this package to make your Laravel application's text processing as efficient and effective as possible.
418418

419-
## Options
419+
## Options⚙️
420420

421421
EloquentRegex provides a flexible system for applying options to your patterns. These options can serve as extra assertions to refine pattern matching or act as filters to select only specific matches. There are three main ways to apply options: directly as arguments, through a callback, and via an associative array.
422422

@@ -631,7 +631,7 @@ public function onlyTags(array|string $tags);
631631
public function restrictTags(array|string $tags);
632632
```
633633

634-
## Regex Flags
634+
## Regex Flags🚩
635635

636636
Regex flags are special tokens that modify the behavior of regular expressions, allowing for more flexible and powerful pattern matching. In EloquentRegex, applying regex flags to your patterns enables specialized matching behaviors such as case-insensitive searches, multiline matching, single-line mode, and support for Unicode characters. Let's explore how to apply these flags using examples.
637637

@@ -706,7 +706,7 @@ expect($matches)->toContain('და'); // Matches Unicode characters with the Un
706706

707707
In addition to character classes and special character methods, builderPattern has more advanced methods for increasing flexibility and usage scope. Below are described the methods for the builderPattern's advanced usage.
708708

709-
## Character Sets
709+
## Character Sets🗃️
710710

711711
In regular expressions, character sets are a fundamental concept that allows you to define a set of characters to match within a single position in the input string. EloquentRegex provides an intuitive way to work with both positive and negative character sets, enhancing the versatility of your patterns.
712712

@@ -753,7 +753,7 @@ When working with character sets in EloquentRegex, it's important to remember th
753753

754754
_Update: From now, **0 as argument is optional**, because character classes willn't add default "+" quantifier inside the set_
755755

756-
## Groups
756+
## Groups📦
757757

758758
EloquentRegex simplifies the process of creating both capturing and non-capturing groups, allowing you to organize your regex patterns into logical sections and apply quantifiers or assertions to these groups as a whole.
759759

@@ -820,7 +820,7 @@ EloquentRegex::start("345-45, 125-787, 344643")
820820
// It returns array: ["345-45", "125-787"]
821821
```
822822

823-
## Conditional matching
823+
## Conditional matching
824824

825825
Assertion groups allow for conditional matching based on the presence (positive) or absence (negative) of patterns ahead or behind the current match point, without consuming characters from the string, so that anything inside assertion group willn't be added in matches. See examples below:
826826

@@ -934,7 +934,7 @@ The `orPattern` method also accepts a quantifier as its **second argument** (aft
934934
- Grouping and Capturing: How to use groups (capturing and non-capturing) and apply quantifiers to them. ✔️
935935
- Sets ✔️
936936
- Lookaheads ✔️
937-
- orPattern
937+
- orPattern ✔️
938938
- Raw methods
939939
- Add section in docs for "lazy" method
940940
- Add sections:

0 commit comments

Comments
 (0)