aboutsummaryrefslogtreecommitdiff
path: root/docs/fr/users
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-10-22 21:21:17 +0200
committerGravatar GitHub <noreply@github.com> 2025-10-22 21:21:17 +0200
commit1282d3a2709064cb847b8757409a7153449faa9d (patch)
tree862c46df5306b2254ff299c3ef9952623e38caa7 /docs/fr/users
parent6edb658dfb1586b9a290e2d8a5ce2f31d9bbb85d (diff)
PostgreSQL: compatibility with PCRE word boundary (#8141)
Allow the use of regex `\b` for word boundary (and `\B` for the opposite) even when using PostgreSQL. Follow up of: * https://github.com/FreshRSS/FreshRSS/pull/6706 For instance, `intitle:/\bnew\B/` will find *newest* but not *new* nor *renewal*. Useful in particular to minimise the differences between PHP and database in: * https://github.com/FreshRSS/FreshRSS/pull/7959
Diffstat (limited to 'docs/fr/users')
-rw-r--r--docs/fr/users/03_Main_view.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/fr/users/03_Main_view.md b/docs/fr/users/03_Main_view.md
index 0ef8f82b3..042a3bc68 100644
--- a/docs/fr/users/03_Main_view.md
+++ b/docs/fr/users/03_Main_view.md
@@ -313,3 +313,5 @@ Contrairement aux recherches normales, les caractères spéciaux XML `<&">` ne s
* [Pour PostgreSQL](https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-POSIX-REGEXP) ;
* [Pour MariaDB](https://mariadb.com/kb/en/pcre/) ;
* [Pour MySQL](https://dev.mysql.com/doc/refman/9.0/en/regexp.html#function_regexp-like).
+
+> ℹ️ Même avec PostgreSQL, vous pouvez utiliser `\b` pour les limites de mots (et `\B` pour l’inverse), car une traduction automatique est effectuée vers `\y` et `\Y`.