Tester
doc
https://twig.symfony.com/doc/2.x/api.html
debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Copyright (C) 2010, Scott W. Dunlop <swdunlop at gmail.com> | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# * Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. | |
# * Redistributions in binary form must reproduce the above copyright | |
# notice, this list of conditions and the following disclaimer in the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use YAPE::Regex::Explain; | |
my $regex = qr/\G([\w-]+).+?\b/; | |
my $xplain = YAPE::Regex::Explain->new($regex); | |
print $xplain->explain; | |
The regular expression: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Useful One-Line Scripts for Perl Dec 03 2013 | version 1.10 | |
-------------------------------- ----------- ------------ | |
Compiled by Peteris Krumins (peter@catonmat.net, @pkrumins on Twitter) | |
http://www.catonmat.net -- good coders code, great reuse | |
Latest version of this file is always at: | |
http://www.catonmat.net/download/perl1line.txt |
Hi:
perl -e 'print "hello world!\n"'
A simple filter:
perl -ne 'print if /REGEX/'
Filter out blank lines (in place):
https://spannbaueradam.shinyapps.io/r_regex_tester/ http://rextester.com/l/r_online_compiler
ICU's Regular Expression loosely based on JDK 1.4 java.util.regex with some extensions. Used in R's stringi/stringr.
Regular Expressions as used in R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author: Jeff Petkau | |
This code is in the public domain. You can run it, copy it, change | |
it, sell it, eat it, or claim you wrote it; I don't care. | |
Source: http://web.archive.org/web/20071024164712/http://www.uselesspython.com/jpetkau1.py | |
inverse regex: | |
given a regular expression string, produces random strings that | |
match the expression. |