Skip to content

Commit d3e3f38

Browse files
committed
Just an existing docs patch to use match_
1 parent 4817499 commit d3e3f38

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ <h3>match</h3>
12981298
<p><strong>Example:</strong> Get all users whose name starts with "A".</p>
12991299

13001300
<pre class="example"><code class="php">r\table('users')-&gt;filter(function($doc){
1301-
return $doc('name')-&gt;match("^A");
1301+
return $doc('name')-&gt;match_("^A");
13021302
})-&gt;run($conn)
13031303
</code></pre>
13041304

docs/php-index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ __Example:__ Get all users whose name starts with "A".
16281628

16291629
```php
16301630
r\table('users')->filter(function($doc){
1631-
return $doc('name')->match("^A");
1631+
return $doc('name')->match_("^A");
16321632
})->run($conn)
16331633
```
16341634

docs/php-patches.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@
418418
1736c1631
419419
< return doc('name')->match("^A")
420420
---
421-
> return $doc('name')->match("^A");
421+
> return $doc('name')->match_("^A");
422422
1888c1783
423423
< ## [and](and/) ##
424424
---

0 commit comments

Comments
 (0)