Warning: filemtime(): stat failed for ./data/secure/tokens/05d557726d112dce4ed0a75f4e0f1e0b7e117d13bd5f431fe0cfd2305ad92de8a77bc5b0324d9a2d535c5f16bcce91b0c8156052aea7a457aecad8031cdd4e0c.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: filemtime(): stat failed for ./data/secure/tokens/1120d3b9d6cae4e73123683c9e7398af5752a4ac132148b23f988a28de51cade2adb5b5004e3a9330491b8dd8c4d7da34f7b2a6c706af947a30da6d64223b30e.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: filemtime(): stat failed for ./data/secure/tokens/a67dc9ff12c007066ded5a24bc4f939ff2aa872595673d50217dea89befb485649349cb7333c586b93987582f923bace7b0bd628edb13fa9d4f6929fae9cf97e.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: filemtime(): stat failed for ./data/secure/tokens/b49a30a88ac42846556a33fb234a962f9ebde070899adc054669a6b54860378552ed29473eda1041652db08d16316e1e5f2b0389860326fb5e8ad17e2c89984a.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831
SnippetVamp - results

Results for regex : 3

1 - regex - Is there a regular expression to detect a valid regular expression? - Stack Overflow
/
^                                             # start of string
(                                             # first group start
  (?:
    (?:[^?+*{}()[\]\\|]+                      # literals and ^, $
     | \\.                                    # escaped characters
     | \[ (?: \^?\\. | \^[^\\] | [^\\^] )     # character classes
          (?: [^\]\\]+ | \\. )* \]
     | \( (?:\?[:=!]|\?<[=!]|\?>)? (?1)?? \)  # parenthesis, with recursive content
     | \(\? (?:R|[+-]?\d+) \)                 # recursive matching
     )
    (?: (?:[?+*]|\{\d+(?:,\d*)?\}) [?+]? )?   # quantifiers
  | \|                                        # alternative
  )*                                          # repeat content
)                                             # end first group
$                                             # end of string
/

# Version sans espace ni commentaire :

/^((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*)$/


			
3 - Rendre des liens cliquables
function makeClickableLinks($text) {  
 $text = preg_replace('/(((f|ht){1}tp://)[-a-zA-Z0-9@:%_+.~#?&//=]+)/i',  
 '<a href="1">1</a>', $text);  
 $text = preg_replace('/([[:space:]()[{}])(www.[-a-zA-Z0-9@:%_+.~#?&//=]+)/i',  
 '1<a href="http://2">2</a>', $text);  
 $text = preg_replace('/([_.0-9a-z-]+@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3})/i',  
 '<a href="mailto:1">1</a>', $text);  
  
return $text;  
}