kalvn's links
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
16 results tagged regex  ✕
RegExp.escape() - JavaScript | MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/escape
10/05/2025 09:03:16

Cette nouvelle fonction est très utile pour inclure du texte dynamique (qu'il vienne d'une saisie utilisateur ou d'ailleurs dans le code) dans une regex sans risque.

regex sécurité
GitHub - slevithan/awesome-regex: An opinionated list of regular expression tools, tutorials, libraries, and other resources https://github.com/slevithan/awesome-regex
15/05/2024 18:23:02

Plein de ressources relatives aux expressions régulières.

regex
Regular expressions in JavaScript https://www.honeybadger.io/blog/javascript-regular-expressions/
23/05/2023 17:39:24

Un article très complet sur les possibilités offertes par les expressions régulières en général et en JavaScript plus spécifiquement.

javascript regex
Your E-Mail Validation Logic is Wrong https://www.netmeister.org/blog/email.html
10/04/2021 15:42:29

Ok donc valider une adresse email avec une regex est finalement quasi impossible si on s'en réfère aux RFCs.

email regex
Regular Expression Library https://www.regexlib.com/
08/03/2021 19:13:28

Un site qui regroupe des tonnes d'exemples d'expressions régulières pour des usages communs (par exemple de la détection d'adresse email).

regex
The string-matching regex explained step by step - DEV Community 👩‍💻👨‍💻 https://dev.to/xowap/the-string-matching-regex-explained-step-by-step-4lkp
21/05/2019 09:39:47

Créer une regex pour cibler les "string literals".

regex string
PHP Twitter Hashtag Validation Regex · GitHub https://gist.github.com/janogarcia/3946583
13/03/2018 15:30:20

Une regex pour valider un hashtag. Implémentation en PHP.

<?php
/**
* PHP Regex to validate a Twitter hashtag
* 
* Useful for validating a text input (an HTML form in your CMS or custom application) that must be a valid Twitter hashtag.
* Valid examples: #a, #_, #_1, #_a, #1a, #áéìôü, #123hàsh_täg446
* Invalid examples: #1, ##hashtag, #hash-tag, #hash.tag, #hash tag, #hashtag!, (any hashtag that is more than 140 characters long, hash symbol included)
* 
* Regex explanation:
* First, the lookahead assertion (?=.{2,140}$) checks the minimum and max length, as explained here http://stackoverflow.com/a/4223213/1441613
* A hash symbol must be the first character. The allowed values for the hash symbol can be expressed with any of the following subpatterns: (#|\\uff0){1}, (#|\x{ff03}){1}, or (#|#){1}.
* A hashtag can contain any UTF-8 alphanumeric character, plus the underscore symbol. That's expressed with the character class [0-9_\p{L}]*, based on http://stackoverflow.com/a/5767106/1441613
* A hashtag can't be only numeric, it must have at least one alpahanumeric character or the underscore symbol. That condition is checked by ([0-9_\p{L}]*[_\p{L}][0-9_\p{L}]*), similar to http://stackoverflow.com/a/1051998/1441613
* Finally, the modifier 'u' is added to ensure that the strings are treated as UTF-8.
*
* More info:
* https://github.com/twitter/twitter-text-conformance
* https://github.com/nojimage/twitter-text-php
* https://github.com/ngnpope/twitter-text-php
*/
preg_match('/^(?=.{2,140}$)(#|\x{ff03}){1}([0-9_\p{L}]*[_\p{L}][0-9_\p{L}]*)$/u', '#hashtag');
php regex hashtag
PHP Live Regex http://www.phpliveregex.com/
27/02/2018 23:02:43

Un outil pour tester les différentes fonctions utilisant les regex de PHP.

php regex outil
Regexper https://regexper.com/
31/01/2018 12:51:52

Un outil qui donne un aperçu visuel d'une expression régulière.

regex
learn-regex/README-fr.md at master · zeeshanu/learn-regex https://github.com/zeeshanu/learn-regex/blob/master/README-fr.md
21/08/2017 20:13:18

tl;dr

Les expression régulières pour les nuls.

regex tuto todoread
SRL - Simple Regex Language https://simple-regex.com/
31/08/2016 11:08:11

Une sorte de langage pour rentre plus compréhensibles les expression régulières.

srl regex lang
RegExr: Learn, Build, & Test RegEx http://regexr.com/
27/07/2016 13:06:15

Un autre outil pour débugger les expression régulières de manière visuelle.

regex outil validation debug
Online regex tester and debugger: JavaScript, Python, PHP, and PCRE https://regex101.com/
12/01/2016 11:54:37

Un testeur de regex très complet qui gère les spécificités de PHP, Javascript et Python pour l'instant.

regex php python javascript outil
Debuggex: Online visual regex tester. JavaScript, Python, and PCRE. https://www.debuggex.com/
18/11/2015 11:51:33

Un debugger visuel pour les expressions régulières.

regex javascript python pcre debug
Fast request routing using regular expressions http://nikic.github.io/2014/02/18/Fast-request-routing-using-regular-expressions.html
13/04/2015 15:13:07

Une manière très intelligente de programmer un routeur PHP de manière efficace en bidouillant un peu les expressions régulières.
Il s'agit de la librairie de routage utilisée dans Slim Framework, un micro-framework PHP que j'affectionne tout particulièrement.

php regex
Regulex:JavaScript Regular Expression Visualizer. http://jex.im/regulex/
16/12/2014 12:07:15

Dessine un schéma correspondant à l'expression régulière. Ça peut aider à comprendre les plus velues.

regex javascript
3845 links, including 129 private
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Theme by kalvn