PageRenderTime 308ms queryTime 35ms sortTime 41ms getByIdsTime 121ms findMatchingLines 34ms

100+ results results for '[a-z]' (308 ms)

Not the results you expected?
VariableCommentSniff.php https://bitbucket.org/lordgnu/php_codesniffer.git | PHP | 347 lines
                    
150                $testLong = trim($long);
                    
151                if (preg_match('|[A-Z]|', $testLong[0]) === 0) {
                    
152                    $error = 'Variable comment long description must start with a capital letter';
                    
164
                    
165            if (preg_match('|[A-Z]|', $testShort[0]) === 0) {
                    
166                $error = 'Variable comment short description must start with a capital letter';
                    
                
BuildLayer.php https://bitbucket.org/areeves42/openfisma.git | PHP | 536 lines
                    
192    {
                    
193        if (!preg_match('/^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$/i', $name)) {
                    
194            // require_once 'Zend/Dojo/Exception.php';
                    
194            // require_once 'Zend/Dojo/Exception.php';
                    
195            throw new Zend_Dojo_Exception('Invalid layer name provided; must be of form[a-z][a-z0-9_](\.[a-z][a-z0-9_])+');
                    
196        }
                    
                
mode-prolog.js https://gitlab.com/Ontology/OntologyWebModules | JavaScript | 364 lines
                    
16       [ { token: 'constant.other.atom.prolog',
                    
17           regex: '\\b[a-z][a-zA-Z0-9_]*\\b' },
                    
18         { token: 'constant.numeric.prolog',
                    
33              'punctuation.end.fact.basic.prolog' ],
                    
34           regex: '([a-z]\\w*)(\\.)' } ],
                    
35      '#builtins': 
                    
76              'punctuation.begin.fact.parameters.prolog' ],
                    
77           regex: '([a-z]\\w*)(\\()(?!.*:-)',
                    
78           push: 
                    
117       [ { token: 'meta.rule.prolog',
                    
118           regex: '(?=[a-z]\\w*.*:-)',
                    
119           push: 
                    
123              { token: 'meta.rule.signature.prolog',
                    
124                regex: '(?=[a-z]\\w*.*:-)',
                    
125                push: 
                    
                
BuildLayer.php https://gitlab.com/AswiniGrossman/Project1 | PHP | 536 lines
                    
192    {
                    
193        if (!preg_match('/^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$/i', $name)) {
                    
194            #require_once 'Zend/Dojo/Exception.php';
                    
194            #require_once 'Zend/Dojo/Exception.php';
                    
195            throw new Zend_Dojo_Exception('Invalid layer name provided; must be of form[a-z][a-z0-9_](\.[a-z][a-z0-9_])+');
                    
196        }
                    
                
glasses.el https://bitbucket.org/zielmicha/emacs.git | Emacs Lisp | 341 lines
                    
133
                    
134(defcustom glasses-uncapitalize-regexp "[a-z]"
                    
135  "Regexp matching beginnings of words to be uncapitalized.
                    
213	(while (re-search-forward
                    
214		"\\<\\([A-Z]\\)[a-zA-Z]*\\([a-z][A-Z]\\|[A-Z][a-z]\\)"
                    
215		end t)
                    
221                (if glasses-separate-capital-groups
                    
222                    "[a-z]\\([A-Z]\\)\\|[A-Z]\\([A-Z]\\)[a-z]"
                    
223                  "[a-z]\\([A-Z]\\)")
                    
229		       (save-match-data
                    
230			 (looking-at "[A-Z]\\($\\|[^A-Z]\\)"))
                    
231		       (save-excursion
                    
278	  (while (re-search-forward
                    
279		  (format "[a-z]\\(%s\\)[A-Z]\\|[A-Z]\\(%s\\)[A-Z][a-z]"
                    
280			  separator separator)
                    
                
map.rb https://github.com/jywarren/mapknitter.git | Ruby | 399 lines
                    
23                        :on => :create
                    
24#  validates_format_of :tile_url, :with => /^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/ix
                    
25  validates_with NotAtOriginValidator
                    
                
authentication.js https://github.com/nherment/Sybeol.git | JavaScript | 339 lines
                    
146}
                    
147var emailPattern = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i ;
                    
148
                    
                
split_spec.rb https://github.com/pwnall/rubinius.git | Ruby | 379 lines
                    
180    "hai".split(/hai/, 1).should == ["hai"]
                    
181    "xAyBzC".split(/[A-Z]/, 1).should == ["xAyBzC"]
                    
182    "hello world ".split(/\s+/, 1).should == ["hello world "]
                    
280    "hello".split(/((el))()/).should == ["h", "el", "el", "", "lo"]
                    
281    "AabB".split(/([a-z])+/).should == ["A", "b", "B"]
                    
282  end
                    
                
make-wsluarm.pl http://cwoodruf-sfu-cmpt.googlecode.com/svn/trunk/ | Perl | 492 lines
                    
104# the body will be executed immediatelly after.
                    
105[ 'WSLUA_MODULE\s*([A-Z][a-zA-Z]+)([^\*]*)',
                    
106sub {
                    
110
                    
111[ 'WSLUA_CLASS_DEFINE\050\s*([A-Z][a-zA-Z]+).*?\051;' . $TRAILING_COMMENT_RE,
                    
112sub {
                    
224
                    
225[ '/\052\s+WSLUA_ATTRIBUTE\s+([A-Za-z]+)_([a-z_]+)\s+([A-Z]*)\s*(.*?)\052/',
                    
226sub {
                    
261
                    
262[ 'WSLUA_ERROR\s*\050\s*(([A-Z][A-Za-z]+)_)?([a-z_]+),' . $QUOTED_RE ,
                    
263sub {
                    
273
                    
274[ 'WSLUA_(OPT)?ARG_ERROR\s*\050\s*(([A-Z][A-Za-z]+)_)?([a-z_]+)\s*,\s*([A-Z0-9]+)\s*,\s*' . $QUOTED_RE,
                    
275sub {
                    
                
class-wc-eval-math.php https://gitlab.com/0072016/woocommerce | PHP | 308 lines
                    
39			// is it a variable assignment?
                    
40			if ( preg_match( '/^\s*([a-z]\w*)\s*=\s*(.+)$/', $expr, $matches ) ) {
                    
41				if ( in_array( $matches[1], self::$vb ) ) { // make sure we're not assigning to a constant
                    
48				// is it a function assignment?
                    
49			} elseif ( preg_match( '/^\s*([a-z]\w*)\s*\(\s*([a-z]\w*(?:\s*,\s*[a-z]\w*)*)\s*\)\s*=\s*(.+)$/', $expr, $matches ) ) {
                    
50				$fnn = $matches[1]; // get the function name
                    
57					$token = $stack[$i];
                    
58					if ( preg_match( '/^[a-z]\w*$/', $token ) and !in_array( $token, $args ) ) {
                    
59						if ( array_key_exists( $token, self::$v ) ) {
                    
232					// if the token is a function, pop arguments off the stack, hand them to the function, and push the result back on
                    
233				} elseif ( ! preg_match( "/^([a-z]\w*)\($/", $token, $matches ) ) {
                    
234					if ( is_numeric( $token ) ) {
                    
                
PackageTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 218 lines
                    
128    public void testParseExample7() throws Exception {
                    
129        StringProperty prop = new StringProperty("html", "${__regexFunction(\\<([a-z]*)\\>,$1$)}");
                    
130        JMeterProperty newProp = transformer.transformValue(prop);
                    
                
moment-timezone.js https://bitbucket.org/gilae/secretarybot.git | JavaScript | 605 lines
                    
213			// 17:56:31 GMT-0600 (Central Standard Time)
                    
214			abbr = abbr[0].match(/[A-Z]/g);
                    
215			abbr = abbr ? abbr.join('') : undefined;
                    
218			// 17:56:31 GMT+0800 (台北標準時間)
                    
219			abbr = timeString.match(/[A-Z]{3,5}/g);
                    
220			abbr = abbr ? abbr[0] : undefined;
                    
                
remote_fetcher.rb https://github.com/jdhardy/ironpython.git | Ruby | 387 lines
                    
98    # URI.parse gets confused by MS Windows paths with forward slashes.
                    
99    scheme = nil if scheme =~ /^[a-z]$/i
                    
100
                    
                
dt2-kernel-modules.mk https://bitbucket.org/rainlake/optware.git | Makefile | 230 lines
                    
119	  m=`basename $$m .ko`; \
                    
120	  n=`echo $$m | sed -e 's/_/-/g' | tr '[A-Z]' '[a-z]'`; \
                    
121	  install -d $(DT2-KERNEL-MODULES_IPK_DIR)-$$n/CONTROL; \
                    
138	      fi; \
                    
139	      j=`basename $$i .ko | sed -e 's/_/-/g' | tr '[A-Z]' '[a-z]'`; \
                    
140	      DEPS="$$DEPS kernel-module-$$j"; \
                    
191	  m=`basename $$m .ko`; \
                    
192	  n=`echo $$m | sed -e 's/_/-/g' | tr '[A-Z]' '[a-z]'`; \
                    
193	  ( cd $(DT2-KERNEL-MODULES_IPK_DIR) ; install -D -m 644 `find . -iname $$m.ko` $(DT2-KERNEL-MODULES_IPK_DIR)-$$n/`find . -iname $$m.ko` ); \
                    
197	  m=`basename $$m .ko`; \
                    
198	  n=`echo $$m | sed -e 's/_/-/g' | tr '[A-Z]' '[a-z]'`; \
                    
199	  cd $(BUILD_DIR); $(IPKG_BUILD) $(DT2-KERNEL-MODULES_IPK_DIR)-$$n; \
                    
                
Element.alignment.html https://hg01.codeplex.com/social | HTML | 0 lines
                    
78        var me = this,
                    
79            matches = position.match(/^([a-z]+)-([a-z]+)(\?)?$/),
                    
80            dw = window.innerWidth,
                    
                
admin_modify.py https://github.com/andrewkuzmych/litclub.git | Python | 253 lines
                    
15
                    
16word_re = re.compile('[A-Z][a-z]+')
                    
17absolute_url_re = re.compile(r'^(?:http(?:s)?:/)?/', re.IGNORECASE)
                    
                
customer.php https://gitlab.com/hazelnuts23/unitedfoodstuff | PHP | 184 lines
                    
88			foreach ($emails as $email) {
                    
89				if (utf8_strlen($email) > 0 && preg_match('/^[^\@]+@.*.[a-z]{2,15}$/i', $email)) {
                    
90					$mail->setTo($email);
                    
                
PrettyPageHandler.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 333 lines
                    
127                    $escaped = preg_replace(
                    
128                        '@([A-z]+?://([-\w\.]+[-\w])+(:\d+)?(/([\w/_\.#-]*(\?\S+)?[^\.\s])?)?)@',
                    
129                        "<a href=\"$1\" target=\"_blank\">$1</a>", $escaped
                    
                
upgrade_ng1_adapter.js https://gitlab.com/remynaps/Vexillarius | JavaScript | 286 lines
                    
4import * as angular from './angular_js';
                    
5const CAMEL_CASE = /([A-Z])/g;
                    
6const INITIAL_VALUE = {
                    
                
jquery.validationEngine-zh_TW.js https://gitlab.com/fayimora/pp | JavaScript | 177 lines
                    
84                    // Shamelessly lifted from Scott Gonzalez via the Bassistance Validation plugin http://projects.scottsplayground.com/email_address_validation/
                    
85                    "regex": /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i,
                    
86                    "alertText": "* Invalid email address"
                    
105                "url": {
                    
106                    "regex": /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,
                    
107                    "alertText": "* Invalid URL"
                    
                
elRTE.filter.js https://github.com/goldenboy/Web2py-Resume.git | JavaScript | 375 lines
                    
145				var attrs = {},
                    
146					m = a.match(/([a-z]+)="([^"]*)"/gi), _t, i;
                    
147				
                    
                
_comments.html https://gitlab.com/orvi2014/phpjs | HTML | 343 lines
                    
62      .toLowerCase()
                    
63      .match(/&lt;[a-z][a-z0-9]*&gt;/g) || [])
                    
64      .join(''); // making sure the allowed arg is a string containing only tags in lowercase (&lt;a&gt;&lt;b&gt;&lt;c&gt;)
                    
64      .join(''); // making sure the allowed arg is a string containing only tags in lowercase (&lt;a&gt;&lt;b&gt;&lt;c&gt;)
                    
65   var tags = /&lt;\/?([a-z][a-z0-9]*)\b[^&gt;]*&gt;/gi,
                    
66       commentsAndPhpTags = /&lt;!--[\s\S]*?--&gt;|&lt;\?(?:php)?[\s\S]*?\?&gt;/gi;
                    
82      .toLowerCase()
                    
83      .match(/&lt;[a-z][a-z0-9]*&gt;/g) || [])
                    
84      .join(''); // making sure the allowed arg is a string containing only tags in lowercase (&lt;a&gt;&lt;b&gt;&lt;c&gt;)
                    
84      .join(''); // making sure the allowed arg is a string containing only tags in lowercase (&lt;a&gt;&lt;b&gt;&lt;c&gt;)
                    
85   var reg = /(&lt;\/?([a-z][a-z0-9]*)\b[^&gt;]*&gt;)/gi;
                    
86   return input.replace(reg, function($0, $1, $2){
                    
                
texi2pod.pl https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | Perl | 427 lines
                    
78    /^\@(?:
                    
79         [a-z]+index            # @*index: useful only in complete manual
                    
80         |need                  # @need: useful only in printed manual
                    
104    # would require rev'ing all other Texinfo translators.
                    
105    /^\@c\s+man\s+begin\s+([A-Z]+)\s+([A-Za-z0-9-]+)/ and do {
                    
106        $output = 1 if exists $defs{$2};
                    
109    };
                    
110    /^\@c\s+man\s+begin\s+([A-Z]+)/ and $sect = $1, $output = 1, next;
                    
111    /^\@c\s+man\s+end/ and do {
                    
136    # if we are skipping.
                    
137    /^\@end\s+([a-z]+)/ and do {
                    
138        # Ignore @end foo, where foo is not an operation which may
                    
243    # Block command handlers:
                    
244    /^\@itemize\s+(\@[a-z]+|\*|-)/ and do {
                    
245        push @endwstack, $endw;
                    
                
FileTransfer.php https://gitlab.com/mohamed_hussein/prodt | PHP | 421 lines
                    
235    // Strip out windows driveletter if its there.
                    
236    $path = preg_replace('|^([a-z]{1}):|i', '', $path);
                    
237    if ($strip_chroot) {
                    
                
class-wc-eval-math.php https://gitlab.com/iamgraeme/royalmile | PHP | 306 lines
                    
38		// is it a variable assignment?
                    
39		if ( preg_match( '/^\s*([a-z]\w*)\s*=\s*(.+)$/', $expr, $matches ) ) {
                    
40			if ( in_array( $matches[1], self::$vb ) ) { // make sure we're not assigning to a constant
                    
47			// is it a function assignment?
                    
48		} elseif ( preg_match( '/^\s*([a-z]\w*)\s*\(\s*([a-z]\w*(?:\s*,\s*[a-z]\w*)*)\s*\)\s*=\s*(.+)$/', $expr, $matches ) ) {
                    
49			$fnn = $matches[1]; // get the function name
                    
56				$token = $stack[$i];
                    
57				if ( preg_match( '/^[a-z]\w*$/', $token ) and !in_array( $token, $args ) ) {
                    
58					if ( array_key_exists( $token, self::$v ) ) {
                    
231				// if the token is a function, pop arguments off the stack, hand them to the function, and push the result back on
                    
232			} elseif ( ! preg_match( "/^([a-z]\w*)\($/", $token, $matches ) ) {
                    
233				if ( is_numeric( $token ) ) {
                    
                
libxl_save_msgs_gen.pl https://gitlab.com/wkyu/gxen | Perl | 398 lines
                    
55
                    
56$intendedout =~ m/([a-z]+)\.([ch])$/ or die;
                    
57my ($want_ah, $ch) = ($1, $2);
                    
                
jquery.validationEngine-vi.js https://gitlab.com/adwait.rise/guruautolines | JavaScript | 183 lines
                    
105                "url": {
                    
106                    "regex": /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,
                    
107                    "alertText": "* URL sai"
                    
                
faq.html https://github.com/bittorrent/boost_1_44_0.git | HTML | 155 lines
                    
92        <span class="bold"><strong>A.</strong></span> The POSIX standard specifies that character
                    
93        range expressions are locale sensitive - so for example the expression [A-Z]
                    
94        will match any collating element that collates between 'A' and 'Z'. That
                    
95        means that for most locales other than "C" or "POSIX",
                    
96        [A-Z] would match the single character 't' for example, which is not what
                    
97        most people expect - or at least not what most people have come to expect
                    
                
upgradelib.php https://github.com/telematika/moodle.git | PHP | 272 lines
                    
63
                    
64        if (!preg_match("/^[a-z][a-z0-9_]*$/", $name)) {
                    
65            echo $OUTPUT->notification("Database table with invalid name '$fullname' detected, skipping.", 'notifyproblem');
                    
                
hMeasure.pm http://cognition-parser.googlecode.com/svn/trunk/ | Perl | 559 lines
                    
158	$dimension =~ s/[^a-z0-9 ]//g;
                    
159	$dimension =~ s/ ([a-z])/uc($1)/ge;
                    
160
                    
486		{
                    
487			$str =~ /(\b[A-Z]{3}\b|\x{20AC}|\x{00A3}|\x{00A5}|\x{0024})/i;
                    
488			$rv->{unit} = $1 if (length $1);
                    
504		{
                    
505			$str =~ /(\b[A-Z]{3}\b|\x{20AC}|\x{00A3}|\x{00A5}|\x{0024})/i;
                    
506			$rv->{unit} = $1 if (length $1);
                    
                
client.clj https://github.com/ato/clojure-couchdb.git | Clojure | 298 lines
                    
67  [database]
                    
68  (boolean (re-find #"^[a-z][a-z0-9_$()+-/]*$" database)))
                    
69
                    
                
validator.js https://gitlab.com/cirospaciari/jscomet | JavaScript | 470 lines
                    
20var cssCalcRegexStr = '(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)';
                    
21var cssFunctionNoVendorRegexStr = '[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)';
                    
22var cssFunctionVendorRegexStr = '\\-(\\-|[A-Z]|[0-9])+\\(.*?\\)';
                    
                
DbDumpCommand.php https://bitbucket.org/razum-io/ns-hub.git | PHP | 425 lines
                    
146      // Parse out the field type and meta information.
                    
147      preg_match('@([a-z]+)(?:\((\d+)(?:,(\d+))?\))?\s*(unsigned)?@', $row['Type'], $matches);
                    
148      $type  = $this->fieldTypeMap($connection, $matches[1]);
                    
                
text.py https://bitbucket.org/Shafak003/myprojects.git | Python | 433 lines
                    
24re_newlines = re.compile(r'\r\n|\r')  # Used in normalize_newlines
                    
25re_camel_case = re.compile(r'(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))')
                    
26
                    
                
dokuwiki.php https://github.com/jacomyma/GEXF-Atlas.git | PHP | 286 lines
                    
146                                # Match common URLs
                    
147                                [a-z]+://\S+? | 
                    
148                                # Match mail addresses enclosed by <>
                    
                
XMP.pm https://github.com/jondo/paperpile.git | Perl | 453 lines
                    
183            next if ( $creator =~ m/^HASH/ );
                    
184	    next if ( $creator !~ m/[a-z]/i );
                    
185	    if ( $creator =~ m/et\sal\.$/ ) {
                    
406    $title_flag = 1 if ( $title =~ m/^Microsoft/ );
                    
407    $title_flag = 1 if ( $title =~ m/^gk[a-z]\d+/i );
                    
408    $title_flag = 1 if ( $title =~ m/^Title/i );
                    
                
bot.pl http://perl-irc-bot.googlecode.com/svn/trunk/ | Perl | 436 lines
                    
156    my @block;
                    
157    if ($what =~ /^!([a-z]+)\s?(.*?)?$/) {
                    
158	my ($command, $desc) = ($1,$2);
                    
                
Smd.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 480 lines
                    
45     */
                    
46    protected $_contentTypeRegex = '#[a-z]+/[a-z][a-z-]+#i';
                    
47
                    
                
locale.js https://gitlab.com/alidz1982/cdnjs | JavaScript | 494 lines
                    
18function _1(_2,_3,_4,_5){
                    
19return _5.replace(/([a-z])\1*/ig,function(_6){
                    
20var s,_8;
                    
348}
                    
349return _56.replace(/([a-z])\1*/ig,function(_57){
                    
350var s;
                    
                
configurable.js https://bitbucket.org/sevenly/magento-ce.git | JavaScript | 319 lines
                    
66                if (element.value) {
                    
67                    var attributeId = element.id.replace(/[a-z]*/, '');
                    
68                    this.values[attributeId] = element.value;
                    
79        this.settings.each(function(element){
                    
80            var attributeId = element.id.replace(/[a-z]*/, '');
                    
81            if(attributeId && this.config.attributes[attributeId]) {
                    
167    fillSelect: function(element){
                    
168        var attributeId = element.id.replace(/[a-z]*/, '');
                    
169        var options = this.getAttributeOptions(attributeId);
                    
                
jquery.validationEngine-ro.js https://gitlab.com/fayimora/pp | JavaScript | 177 lines
                    
84                    // Shamelessly lifted from Scott Gonzalez via the Bassistance Validation plugin http://projects.scottsplayground.com/email_address_validation/
                    
85                    "regex": /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i,
                    
86                    "alertText": "* Adresa e-mail este scrisa gresit"
                    
105                "url": {
                    
106                    "regex": /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,
                    
107                    "alertText": "* URL gresit"
                    
                
remote_fetcher.rb https://gitlab.com/MichelZuniga/ruby | Ruby | 394 lines
                    
155    # URI.parse gets confused by MS Windows paths with forward slashes.
                    
156    scheme = nil if scheme =~ /^[a-z]$/i
                    
157
                    
327  def correct_for_windows_path(path)
                    
328    if path[0].chr == '/' && path[1].chr =~ /[a-z]/i && path[2].chr == ':'
                    
329      path = path[1..-1]
                    
                
bootstrap.sh https://github.com/ppanhoto/Freeswitch-mod_mp4.git | Shell | 372 lines
                    
32# autoconf 2.59 or newer
                    
33ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;s/[- ].*//g;q'`
                    
34if test -z "$ac_version"; then
                    
60
                    
61am_version=`${AUTOMAKE:-automake} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;s/[- ].*//g;q'`
                    
62if test -z "$am_version"; then
                    
81
                    
82acl_version=`${ACLOCAL:-aclocal} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;s/[- ].*//g;q'`
                    
83if test -z "$acl_version"; then
                    
113fi
                    
114lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
                    
115IFS=.; set $lt_version; IFS=' '
                    
156ltl_pversion=`$libtoolize --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
                    
157ltl_version=`echo $ltl_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
                    
158IFS=.; set $ltl_version; IFS=' '
                    
                
simple-exp-tree.c https://gitlab.com/dedstroyer/mai-workshops-2013 | C | 330 lines
                    
13 *          op      ::= <любые символы>
                    
14 *          alnum   ::= [a-z]|[0-9]
                    
15 *
                    
169 *          op      ::= <любые символы>
                    
170 *          alnum   ::= [a-z]|[0-9]
                    
171 */
                    
                
CrtWrapper.c https://gitlab.com/envieidoc/Clover | C | 450 lines
                    
185  //
                    
186  // <alnum> ::= [0-9] | [a-z] | [A-Z]
                    
187  //
                    
196  //
                    
197  // <uppercase letter> := [A-Z]
                    
198  //
                    
                
PSHDLParser.java https://bitbucket.org/kbecker/pshdl.git | Java | 244 lines
                    
72                    final String keyWord = line.substring(1, line.lastIndexOf('\''));
                    
73                    if (keyWord.matches("[a-z]+")) {
                    
74                        keywords.add(keyWord);
                    
                
components-form-tools.js https://gitlab.com/SFMSP/Hagape | JavaScript | 253 lines
                    
99                input.pwstrength("addRule", "demoRule", function (options, word, score) {
                    
100                    return word.match(/[a-z].[0-9]/) && score;
                    
101                }, 10, true);
                    
                
bindings.coffee https://gitlab.com/VoroninNick/radok | CoffeeScript | 279 lines
                    
210  camelCase: (string) ->
                    
211    string.replace /-([a-z])/g, (grouped) ->
                    
212      grouped[1].toUpperCase()
                    
                
user.rb https://github.com/joel/checkin.git | Ruby | 245 lines
                    
33  # validates_uniqueness_of   :email, :case_sensitive => false
                    
34  # validates_format_of       :email, :with => /^([^\s]+)((?:[-a-z0-9]\.)[a-z]{2,})$/i # /^\S+\@(\[?)[a-zA-Z0-9\_\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,4})(\]?)$/ix  # /^\S+@[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,6}$/
                    
35  validates_format_of       :email, :with => /^\S+\@+\S+\.\S{2,4}$/ix
                    
                
haskell.vim https://gitlab.com/shinvdu/vim_win_config | Vim Script | 194 lines
                    
42" (Qualified) identifiers (no default highlighting)
                    
43syn match ConId "\(\<[A-Z][a-zA-Z0-9_']*\.\)\=\<[A-Z][a-zA-Z0-9_']*\>"
                    
44syn match VarId "\(\<[A-Z][a-zA-Z0-9_']*\.\)\=\<[a-z][a-zA-Z0-9_']*\>"
                    
48" others are variables (e.g. functions).
                    
49syn match hsVarSym "\(\<[A-Z][a-zA-Z0-9_']*\.\)\=[-!#$%&\*\+/<=>\?@\\^|~.][-!#$%&\*\+/<=>\?@\\^|~:.]*"
                    
50syn match hsConSym "\(\<[A-Z][a-zA-Z0-9_']*\.\)\=:[-!#$%&\*\+./<=>\?@\\^|~:]*"
                    
50syn match hsConSym "\(\<[A-Z][a-zA-Z0-9_']*\.\)\=:[-!#$%&\*\+./<=>\?@\\^|~:]*"
                    
51syn match hsVarSym "`\(\<[A-Z][a-zA-Z0-9_']*\.\)\=[a-z][a-zA-Z0-9_']*`"
                    
52syn match hsConSym "`\(\<[A-Z][a-zA-Z0-9_']*\.\)\=[A-Z][a-zA-Z0-9_']*`"
                    
                
tts.scm https://gitlab.com/generic-library/festival | Scheme | 304 lines
                    
60	;; These are heuristics
                    
61	((name matches "\\(.*\\..*\\|[A-Z][A-Za-z]?[A-Za-z]?\\|etc\\)");; an abbreviation
                    
62	 ((n.whitespace is " ")
                    
63	  ((0));; if abbrev single space isn't enough for break
                    
64	  ((n.name matches "[A-Z].*")
                    
65	   ((1))
                    
67	 ((n.whitespace is " ");; if it doesn't look like an abbreviation
                    
68	  ((n.name matches "[A-Z].*");; single space and non-cap is no break
                    
69	   ((1))
                    
                
BuildLayer.php https://github.com/kokx/zf-library.git | PHP | 536 lines
                    
192    {
                    
193        if (!preg_match('/^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$/i', $name)) {
                    
194            require_once 'Zend/Dojo/Exception.php';
                    
194            require_once 'Zend/Dojo/Exception.php';
                    
195            throw new Zend_Dojo_Exception('Invalid layer name provided; must be of form[a-z][a-z0-9_](\.[a-z][a-z0-9_])+');
                    
196        }
                    
                
MailMimePart.php https://github.com/vohnicky/treeview.git | PHP | 394 lines
                    
74			foreach ($value as $email => $name) {
                    
75				if (!preg_match('#^[^@",\s]+@[^@",\s]+\.[a-z]{2,10}$#i', $email)) {
                    
76					throw new InvalidArgumentException("Email address '$email' is not valid.");
                    
                
srecode-getset.el https://github.com/eostrom/my_emacs_for_rails.git | Emacs Lisp | 370 lines
                    
161  "Strip the fieldname NAME of polish notation things."
                    
162  (cond ((string-match "[a-z]\\([A-Z]\\w+\\)" name)
                    
163	 (substring name (match-beginning 1)))
                    
                
all-tests.js https://gitlab.com/jonnyforney/beerbowerpainting | JavaScript | 396 lines
                    
36exports["test advanced"] = function () {
                    
37    var lexgrammar = '%%\n$ {return \'EOF\';}\n. {/* skip */}\n"stuff"*/("{"|";") {/* ok */}\n(.+)[a-z]{1,2}"hi"*? {/* skip */}\n';
                    
38    var expected = {
                    
42            ["stuff*(?=(\\{|;))", "/* ok */"],
                    
43            ["(.+)[a-z]{1,2}hi*?", "/* skip */"]
                    
44        ]
                    
                
OnSIP-ContentPage.js https://github.com/simple-beck/OnSIP-Click-toCall-for-Chrome.git | JavaScript | 465 lines
                    
173    // SIP adress
                    
174    var sipAddressNumber = /sip:[a-zA-Z09_]+@[a-zA-Z09_]+\.[a-z]{1,4}/;
                    
175
                    
                
frysk-0.4-nopkglibdir.patch git://pkgs.fedoraproject.org/frysk | Patch | 234 lines
                    
6             # extract the directory prefix
                    
7             local dir=`echo /"$1" | sed -e 's,.*/\([a-z]*\)dir/.*,\1,'`
                    
8-            echo "${dir}_PROGRAMS += $1"
                    
19     b=`basename $file ${suffix}`
                    
20-    echo `expr $d : '.*/\([a-z]*\)dir'`_SCRIPTS += $d/$b
                    
21-    check_MANS $d/$b
                    
21-    check_MANS $d/$b
                    
22+    dir=`expr $d : '.*/\([a-z]*\)dir'`
                    
23+    case $dir in
                    
                
gcp_compute_http_health_check.py https://bitbucket.org/bcoca/ansible.git | Python | 402 lines
                    
77              RFC1035.  Specifically, the name must be 1-63 characters long and
                    
78              match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which
                    
79              means the first character must be a lowercase letter, and all
                    
165              RFC1035.  Specifically, the name must be 1-63 characters long and
                    
166              match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which
                    
167              means the first character must be a lowercase letter, and all
                    
                
Service.php https://github.com/grandison/budo16.git | PHP | 473 lines
                    
60     */
                    
61    protected $_nameRegex = '/^[a-z][a-z0-9._]+$/i';
                    
62
                    
                
check-date-format-xparb.js https://github.com/rwaldron/doctorjs.git | JavaScript | 422 lines
                    
266            c:null,
                    
267            s:"[A-Z]{3}"};
                    
268    case "Z":
                    
281        /^.*? ([A-Z]{3}) [0-9]{4}.*$/, "$1").replace(
                    
282        /^.*?\(([A-Z])[a-z]+ ([A-Z])[a-z]+ ([A-Z])[a-z]+\)$/, "$1$2$3");
                    
283}
                    
                
git-filter-branch.sh https://bitbucket.org/slamuser/git.git | Shell | 516 lines
                    
70set_ident () {
                    
71	lid="$(echo "$1" | tr "[A-Z]" "[a-z]")"
                    
72	uid="$(echo "$1" | tr "[a-z]" "[A-Z]")"
                    
                
org-wikinodes.el https://github.com/alexko/org-mode.git | Emacs Lisp | 337 lines
                    
34
                    
35(defconst org-wikinodes-camel-regexp "\\<[A-Z]+[a-z]+[A-Z]+[a-z]+[a-zA-Z]*\\>"
                    
36  "Regular expression matching CamelCase words.")
                    
                
Base64.php https://gitlab.com/remyvianne/krowkaramel | PHP | 270 lines
                    
29 * Class Base64
                    
30 * [A-Z][a-z][0-9]+/
                    
31 *
                    
38     *
                    
39     * Base64 character set "[A-Z][a-z][0-9]+/"
                    
40     *
                    
52     *
                    
53     * Base64 character set "[A-Z][a-z][0-9]+/"
                    
54     *
                    
116     *
                    
117     * Base64 character set "./[A-Z][a-z][0-9]"
                    
118     *
                    
216     * Base64 character set:
                    
217     * [A-Z]      [a-z]      [0-9]      +     /
                    
218     * 0x41-0x5a, 0x61-0x7a, 0x30-0x39, 0x2b, 0x2f
                    
                
util.rb https://github.com/smtlaissezfaire/sup.git | Ruby | 637 lines
                    
175  def camel_to_hyphy
                    
176    self.gsub(/([a-z])([A-Z0-9])/, '\1-\2').downcase
                    
177  end
                    
                
manipulation.js https://gitlab.com/briankiragu/jquery | JavaScript | 478 lines
                    
29var
                    
30	rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,
                    
31
                    
                
angular.easypiechart.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 345 lines
                    
22					fx = fx.split(';'); // CSS like syntax
                    
23					var REkey = new RegExp('[a-z]+', 'i');
                    
24					var REvalue = new RegExp(':.+');
                    
                
String.js https://github.com/fjakobs/qxoo.git | JavaScript | 329 lines
                    
62    {
                    
63      return str.replace(/\-([a-z])/g, function(match, chr) {
                    
64        return chr.toUpperCase();
                    
79    {
                    
80      return str.replace(/[A-Z]/g, function(match){
                    
81        return ('-' + match.charAt(0).toLowerCase());
                    
95    capitalize: function(str){
                    
96      return str.replace(/\b[a-z]/g, function(match) {
                    
97        return match.toUpperCase();
                    
                
Router.php https://gitlab.com/habracoder/advertising | PHP | 494 lines
                    
14 * $router->add(
                    
15 * "/documentation/{chapter}/{name}\.{type:[a-z]+}",
                    
16=======
                    
23 * $router->add(
                    
24 * "/documentation/{chapter}/{name}.{type:[a-z]+}",
                    
25>>>>>>> 5cd73180ea748c3d5e180a24610161d9730cd146
                    
                
inlineformat.js https://TelerikASPNETMVC.svn.codeplex.com/svn | JavaScript | 346 lines
                    
220        if (greedyProperty) {
                    
221            var camelCase = greedyProperty.replace(/-([a-z])/, function(all, letter){return letter.toUpperCase()});
                    
222            this[values.style[camelCase] == 'inherit' ? 'remove' : 'apply'](nodes);
                    
                
ProxyCode.sc git://github.com/iani/SC.git | Scala | 333 lines
                    
83	getProxyName { | argSnippet, argIndex = 0 |
                    
84		^(argSnippet.findRegexp("^//:([a-z][a-zA-Z0-9_]+)")[1] ?? {
                    
85			[0, format("out%", argIndex)] 
                    
                
user.rb https://github.com/eidus/incubaction-bbyidx.git | Ruby | 275 lines
                    
63  validates_length_of       :email,    :within => 3..100
                    
64  validates_format_of       :email,    :with => /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
                    
65  validates_uniqueness_of   :email, :case_sensitive => false
                    
                
bills.py https://github.com/sunlightlabs/openstates.git | Python | 302 lines
                    
98        bill_id = file_path.split("/")[-1].split(".")[0]
                    
99        identifier, number = re.search(r"([A-Z]{2}R?)0+(\d+)", bill_id).groups()
                    
100        # House and Senate Concurrent and Joint Resolutions files do not contain
                    
                
tsx19-kernel-modules.mk https://bitbucket.org/rainlake/optware.git | Makefile | 238 lines
                    
136	  m=`basename $$m .ko`; \
                    
137	  n=`echo $$m | sed -e 's/_/-/g' | tr '[A-Z]' '[a-z]'`; \
                    
138	  install -d $(KERNEL-MODULE_IPKS_DIR)/$$n/CONTROL; \
                    
153	      if test -n "$$DEPS"; then DEPS="$$DEPS,"; fi; \
                    
154	      j=`basename $$i .ko | sed -e 's/_/-/g' | tr '[A-Z]' '[a-z]'`; \
                    
155	      DEPS="$$DEPS kernel-module-$$j"; \
                    
198	  m=`basename $$m .ko`; \
                    
199	  n=`echo $$m | sed -e 's/_/-/g' | tr '[A-Z]' '[a-z]'`; \
                    
200	  ( cd $(KERNEL-MODULES_IPK_DIR) ; install -D -m 644 `find . -iname $$m.ko` $(KERNEL-MODULE_IPKS_DIR)/$$n/`find . -iname $$m.ko` ); \
                    
204	  m=`basename $$m .ko`; \
                    
205	  n=`echo $$m | sed -e 's/_/-/g' | tr '[A-Z]' '[a-z]'`; \
                    
206	  cd $(BUILD_DIR); $(IPKG_BUILD) $(KERNEL-MODULE_IPKS_DIR)/$$n; \
                    
                
tooltip.js https://gitlab.com/zanderwong/lantern | JavaScript | 361 lines
                    
55  function snake_case(name){
                    
56    var regexp = /[A-Z]/g;
                    
57    var separator = '-';
                    
                
BAG.pm https://bitbucket.org/michielootjers/zaaksysteem-sprint2.git | Perl | 371 lines
                    
153    my ($numberletter)   = $streetnumber
                    
154        =~ /^\d+([a-z]+)/;
                    
155    my ($numbersuffix)   = $streetnumber
                    
155    my ($numbersuffix)   = $streetnumber
                    
156        =~ /^\d+[a-z]+[\s-]+(.*)/i;
                    
157
                    
                
I18nBehaviorObjectBuilderModifier.php https://gitlab.com/Isaki/le331.fr | PHP | 212 lines
                    
158        $functionStatement = preg_replace('/^\t/m', '', $functionStatement);
                    
159        preg_match_all('/\$[a-z]+/i', $functionStatement, $params);
                    
160
                    
187        $functionStatement = preg_replace('/^\t/m', '', $functionStatement);
                    
188        preg_match_all('/\$[a-z]+/i', $functionStatement, $params);
                    
189
                    
                
functions_search.php git://github.com/MightyGorgon/icy_phoenix.git | PHP | 416 lines
                    
34		// HTML entities like &nbsp;
                    
35		$entry = preg_replace('/\b&[a-z]+;\b/', ' ', $entry);
                    
36		// Remove URL's
                    
                
base.rb https://github.com/edward/yard.git | Ruby | 324 lines
                    
21    ISEP = '#'
                    
22    CONSTANTMATCH = /[A-Z]\w*/
                    
23    NAMESPACEMATCH = /(?:(?:#{Regexp.quote NSEP})?#{CONSTANTMATCH})+/
                    
                
jira_service.rb https://gitlab.com/twang2218/gitlab | Ruby | 320 lines
                    
21  def self.reference_pattern(only_long: true)
                    
22    @reference_pattern ||= %r{(?<issue>\b([A-Z][A-Z0-9_]+-)\d+)}
                    
23  end
                    
                
PdfParser.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 337 lines
                    
128      // Parse each lines to extract command and operator values
                    
129      if (preg_match('/^(?<command>.*[\)\] ])(?<operator>[a-z]+[\*]?)$/i', $line, $matches)) {
                    
130        $command = trim($matches['command']);
                    
                
shBrushErlang.js https://bitbucket.org/ohimmelreich/asalia-training.git | JavaScript | 52 lines
                    
34		this.regexList = [
                    
35			{ regex: new RegExp("[A-Z][A-Za-z0-9_]+", 'g'), 			css: 'constants' },
                    
36			{ regex: new RegExp("\\%.+", 'gm'), 						css: 'comments' },
                    
                
extpfeil.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 16 lines
                    
14
                    
15MathJax.Extension["TeX/extpfeil"]={version:"2.1"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b=MathJax.InputJax.TeX,a=b.Definitions;a.Add({macros:{xtwoheadrightarrow:["Extension","AMSmath"],xtwoheadleftarrow:["Extension","AMSmath"],xmapsto:["Extension","AMSmath"],xlongequal:["Extension","AMSmath"],xtofrom:["Extension","AMSmath"],Newextarrow:["Extension","AMSmath"]}},null,true);MathJax.Hub.Register.StartupHook("TeX AMSmath Ready",function(){MathJax.Hub.Insert(a,{macros:{xtwoheadrightarrow:["xArrow",8608,12,16],xtwoheadleftarrow:["xArrow",8606,17,13],xmapsto:["xArrow",8614,6,7],xlongequal:["xArrow",61,7,7],xtofrom:["xArrow",8644,12,12],Newextarrow:"NewExtArrow"}})});b.Parse.Augment({NewExtArrow:function(c){var e=this.GetArgument(c),f=this.GetArgument(c),d=this.GetArgument(c);if(!e.match(/^\\([a-z]+|.)$/i)){b.Error("First argument to "+c+" must be a control sequence name")}if(!f.match(/^(\d+),(\d+)$/)){b.Error("Second argument to "+c+" must be two integers separated by a comma")}if(!d.match(/^(\d+|0x[0-9A-F]+)$/i)){b.Error("Third argument to "+c+" must be a unicode character number")}e=e.substr(1);f=f.split(",");d=parseInt(d);a.macros[e]=["xArrow",d,parseInt(f[0]),parseInt(f[1])]}});MathJax.Hub.Startup.signal.Post("TeX extpfeil Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/extpfeil.js");
                    
16
                    
                
release.sh https://gitlab.com/x33n/angular.js | Shell | 69 lines
                    
19  # e.g. 1.2.12 or 1.2.12-rc.1
                    
20  "--version-number=([0-9]+\.[0-9]+\.[0-9]+(-[a-z]+\.[0-9]+)?)"
                    
21  # the codename of the release
                    
                
app.js https://gitlab.com/x33n/angular-101-from-n00b-to-ngExpert | JavaScript | 59 lines
                    
18
                    
19        var regex = new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i);
                    
20        return regex.test(email);
                    
                
sfValidatorUrl.class.php https://github.com/bheneka/gitta.git | PHP | 59 lines
                    
23      (
                    
24        ([a-z0-9-]+\.)+[a-z]{2,6}             # a domain name
                    
25          |                                   #  or
                    
                
15.10.2-1.js https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | JavaScript | 176 lines
                    
74status = inSection(3);
                    
75pattern = /a[a-z]{2,4}/;
                    
76string = 'abcdefghi';
                    
81status = inSection(4);
                    
82pattern = /a[a-z]{2,4}?/;
                    
83string = 'abcdefghi';
                    
                
Constant.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 246 lines
                    
46public class Constant extends AbstractVariable {
                    
47    private static String pattern = "[A-Z]([a-zA-Z]|_)([a-zA-Z]|_|\\d)*";
                    
48    private boolean initialized = false;
                    
                
jquery.themepunch.plugins.min.js https://bitbucket.org/dcoverdale/louis-smith-design.git | JavaScript | 70 lines
                    
57
                    
58(function(e){function t(e){if(e in u.style)return e;var t=["Moz","Webkit","O","ms"],n=e.charAt(0).toUpperCase()+e.substr(1);if(e in u.style)return e;for(e=0;e<t.length;++e){var r=t[e]+n;if(r in u.style)return r}}function n(e){"string"===typeof e&&this.parse(e);return this}function r(t,n,r,i){var s=[];e.each(t,function(t){t=e.camelCase(t);t=e.transit.propertyMap[t]||e.cssProps[t]||t;t=t.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()});-1===e.inArray(t,s)&&s.push(t)});e.cssEase[r]&&(r=e.cssEase[r]);var u=""+o(n)+" "+r;0<parseInt(i,10)&&(u+=" "+o(i));var a=[];e.each(s,function(e,t){a.push(t+" "+u)});return a.join(", ")}function i(t,n){n||(e.cssNumber[t]=!0);e.transit.propertyMap[t]=a.transform;e.cssHooks[t]={get:function(n){return e(n).css("transit:transform").get(t)},set:function(n,r){var i=e(n).css("transit:transform");i.setFromString(t,r);e(n).css({"transit:transform":i})}}}function s(e,t){return"string"===typeof e&&!e.match(/^[\-0-9\.]+$/)?e:""+e+t}function o(t){e.fx.speeds[t]&&(t=e.fx.speeds[t]);return s(t,"ms")}e.transit={version:"0.9.9",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:!0,useTransitionEnd:!1};var u=document.createElement("div"),a={},f=-1<navigator.userAgent.toLowerCase().indexOf("chrome");a.transition=t("transition");a.transitionDelay=t("transitionDelay");a.transform=t("transform");a.transformOrigin=t("transformOrigin");u.style[a.transform]="";u.style[a.transform]="rotateY(90deg)";a.transform3d=""!==u.style[a.transform];var l=a.transitionEnd={transition:"transitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"}[a.transition]||null,c;for(c in a)a.hasOwnProperty(c)&&"undefined"===typeof e.support[c]&&(e.support[c]=a[c]);u=null;e.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};e.cssHooks["transit:transform"]={get:function(t){return e(t).data("transform")||new n},set:function(t,r){var i=r;i instanceof n||(i=new n(i));t.style[a.transform]="WebkitTransform"===a.transform&&!f?i.toString(!0):i.toString();e(t).data("transform",i)}};e.cssHooks.transform={set:e.cssHooks["transit:transform"].set};"1.8">e.fn.jquery&&(e.cssHooks.transformOrigin={get:function(e){return e.style[a.transformOrigin]},set:function(e,t){e.style[a.transformOrigin]=t}},e.cssHooks.transition={get:function(e){return e.style[a.transition]},set:function(e,t){e.style[a.transition]=t}});i("scale");i("translate");i("rotate");i("rotateX");i("rotateY");i("rotate3d");i("perspective");i("skewX");i("skewY");i("x",!0);i("y",!0);n.prototype={setFromString:function(e,t){var r="string"===typeof t?t.split(","):t.constructor===Array?t:[t];r.unshift(e);n.prototype.set.apply(this,r)},set:function(e){var t=Array.prototype.slice.apply(arguments,[1]);this.setter[e]?this.setter[e].apply(this,t):this[e]=t.join(",")},get:function(e){return this.getter[e]?this.getter[e].apply(this):this[e]||0},setter:{rotate:function(e){this.rotate=s(e,"deg")},rotateX:function(e){this.rotateX=s(e,"deg")},rotateY:function(e){this.rotateY=s(e,"deg")},scale:function(e,t){void 0===t&&(t=e);this.scale=e+","+t},skewX:function(e){this.skewX=s(e,"deg")},skewY:function(e){this.skewY=s(e,"deg")},perspective:function(e){this.perspective=s(e,"px")},x:function(e){this.set("translate",e,null)},y:function(e){this.set("translate",null,e)},translate:function(e,t){void 0===this._translateX&&(this._translateX=0);void 0===this._translateY&&(this._translateY=0);null!==e&&void 0!==e&&(this._translateX=s(e,"px"));null!==t&&void 0!==t&&(this._translateY=s(t,"px"));this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var e=(this.scale||"1,1").split(",");e[0]&&(e[0]=parseFloat(e[0]));e[1]&&(e[1]=parseFloat(e[1]));return e[0]===e[1]?e[0]:e},rotate3d:function(){for(var e=(this.rotate3d||"0,0,0,0deg").split(","),t=0;3>=t;++t)e[t]&&(e[t]=parseFloat(e[t]));e[3]&&(e[3]=s(e[3],"deg"));return e}},parse:function(e){var t=this;e.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(e,n,r){t.setFromString(n,r)})},toString:function(e){var t=[],n;for(n in this)if(this.hasOwnProperty(n)&&(a.transform3d||!("rotateX"===n||"rotateY"===n||"perspective"===n||"transformOrigin"===n)))"_"!==n[0]&&(e&&"scale"===n?t.push(n+"3d("+this[n]+",1)"):e&&"translate"===n?t.push(n+"3d("+this[n]+",0)"):t.push(n+"("+this[n]+")"));return t.join(" ")}};e.fn.transition=e.fn.transit=function(t,n,i,s){var u=this,f=0,c=!0;"function"===typeof n&&(s=n,n=void 0);"function"===typeof i&&(s=i,i=void 0);"undefined"!==typeof t.easing&&(i=t.easing,delete t.easing);"undefined"!==typeof t.duration&&(n=t.duration,delete t.duration);"undefined"!==typeof t.complete&&(s=t.complete,delete t.complete);"undefined"!==typeof t.queue&&(c=t.queue,delete t.queue);"undefined"!==typeof t.delay&&(f=t.delay,delete t.delay);"undefined"===typeof n&&(n=e.fx.speeds._default);"undefined"===typeof i&&(i=e.cssEase._default);n=o(n);var h=r(t,n,i,f),v=e.transit.enabled&&a.transition?parseInt(n,10)+parseInt(f,10):0;if(0===v)return n=c,i=function(e){u.css(t);s&&s.apply(u);e&&e()},!0===n?u.queue(i):n?u.queue(n,i):i(),u;var m={};n=c;i=function(n){var r=0;"MozTransition"===a.transition&&25>r&&(r=25);window.setTimeout(function(){var r=!1,i=function(){r&&u.unbind(l,i);0<v&&u.each(function(){this.style[a.transition]=m[this]||null});"function"===typeof s&&s.apply(u);"function"===typeof n&&n()};0<v&&l&&e.transit.useTransitionEnd?(r=!0,u.bind(l,i)):window.setTimeout(i,v);u.each(function(){0<v&&(this.style[a.transition]=h);e(this).css(t)})},r)};!0===n?u.queue(i):n?u.queue(n,i):i();return this};e.transit.getTransitionValue=r})(jQuery);(function(e,t){jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,r,i){return jQuery.easing[jQuery.easing.def](e,t,n,r,i)},easeInQuad:function(e,t,n,r,i){return r*(t/=i)*t+n},easeOutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n},easeInOutQuad:function(e,t,n,r,i){if((t/=i/2)<1)return r/2*t*t+n;return-r/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,r,i){return r*(t/=i)*t*t+n},easeOutCubic:function(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,r,i){if((t/=i/2)<1)return r/2*t*t*t+n;return r/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,r,i){return r*(t/=i)*t*t*t+n},easeOutQuart:function(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,r,i){if((t/=i/2)<1)return r/2*t*t*t*t+n;return-r/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n},easeOutQuint:function(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,r,i){if((t/=i/2)<1)return r/2*t*t*t*t*t+n;return r/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,r,i){return-r*Math.cos(t/i*(Math.PI/2))+r+n},easeOutSine:function(e,t,n,r,i){return r*Math.sin(t/i*(Math.PI/2))+n},easeInOutSine:function(e,t,n,r,i){return-r/2*(Math.cos(Math.PI*t/i)-1)+n},easeInExpo:function(e,t,n,r,i){return t==0?n:r*Math.pow(2,10*(t/i-1))+n},easeOutExpo:function(e,t,n,r,i){return t==i?n+r:r*(-Math.pow(2,-10*t/i)+1)+n},easeInOutExpo:function(e,t,n,r,i){if(t==0)return n;if(t==i)return n+r;if((t/=i/2)<1)return r/2*Math.pow(2,10*(t-1))+n;return r/2*(-Math.pow(2,-10*--t)+2)+n},easeInCirc:function(e,t,n,r,i){return-r*(Math.sqrt(1-(t/=i)*t)-1)+n},easeOutCirc:function(e,t,n,r,i){return r*Math.sqrt(1-(t=t/i-1)*t)+n},easeInOutCirc:function(e,t,n,r,i){if((t/=i/2)<1)return-r/2*(Math.sqrt(1-t*t)-1)+n;return r/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,r,i){var s=1.70158;var o=0;var u=r;if(t==0)return n;if((t/=i)==1)return n+r;if(!o)o=i*.3;if(u<Math.abs(r)){u=r;var s=o/4}else var s=o/(2*Math.PI)*Math.asin(r/u);return-(u*Math.pow(2,10*(t-=1))*Math.sin((t*i-s)*2*Math.PI/o))+n},easeOutElastic:function(e,t,n,r,i){var s=1.70158;var o=0;var u=r;if(t==0)return n;if((t/=i)==1)return n+r;if(!o)o=i*.3;if(u<Math.abs(r)){u=r;var s=o/4}else var s=o/(2*Math.PI)*Math.asin(r/u);return u*Math.pow(2,-10*t)*Math.sin((t*i-s)*2*Math.PI/o)+r+n},easeInOutElastic:function(e,t,n,r,i){var s=1.70158;var o=0;var u=r;if(t==0)return n;if((t/=i/2)==2)return n+r;if(!o)o=i*.3*1.5;if(u<Math.abs(r)){u=r;var s=o/4}else var s=o/(2*Math.PI)*Math.asin(r/u);if(t<1)return-.5*u*Math.pow(2,10*(t-=1))*Math.sin((t*i-s)*2*Math.PI/o)+n;return u*Math.pow(2,-10*(t-=1))*Math.sin((t*i-s)*2*Math.PI/o)*.5+r+n},easeInBack:function(e,t,n,r,i,s){if(s==undefined)s=1.70158;return r*(t/=i)*t*((s+1)*t-s)+n},easeOutBack:function(e,t,n,r,i,s){if(s==undefined)s=1.70158;return r*((t=t/i-1)*t*((s+1)*t+s)+1)+n},easeInOutBack:function(e,t,n,r,i,s){if(s==undefined)s=1.70158;if((t/=i/2)<1)return r/2*t*t*(((s*=1.525)+1)*t-s)+n;return r/2*((t-=2)*t*(((s*=1.525)+1)*t+s)+2)+n},easeInBounce:function(e,t,n,r,i){return r-jQuery.easing.easeOutBounce(e,i-t,0,r,i)+n},easeOutBounce:function(e,t,n,r,i){if((t/=i)<1/2.75){return r*7.5625*t*t+n}else if(t<2/2.75){return r*(7.5625*(t-=1.5/2.75)*t+.75)+n}else if(t<2.5/2.75){return r*(7.5625*(t-=2.25/2.75)*t+.9375)+n}else{return r*(7.5625*(t-=2.625/2.75)*t+.984375)+n}},easeInOutBounce:function(e,t,n,r,i){if(t<i/2)return jQuery.easing.easeInBounce(e,t*2,0,r,i)*.5+n;return jQuery.easing.easeOutBounce(e,t*2-i,0,r,i)*.5+r*.5+n}});e.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};e.expr[":"].uncached=function(t){var n=document.createElement("img");n.src=t.src;return e(t).is('img[src!=""]')&&!n.complete};e.fn.waitForImages=function(t,n,r){if(e.isPlainObject(arguments[0])){n=t.each;r=t.waitForAll;t=t.finished}t=t||e.noop;n=n||e.noop;r=!!r;if(!e.isFunction(t)||!e.isFunction(n)){throw new TypeError("An invalid callback was supplied.")}return this.each(function(){var i=e(this),s=[];if(r){var o=e.waitForImages.hasImageProperties||[],u=/url\((['"]?)(.*?)\1\)/g;i.find("*").each(function(){var t=e(this);if(t.is("img:uncached")){s.push({src:t.attr("src"),element:t[0]})}e.each(o,function(e,n){var r=t.css(n);if(!r){return true}var i;while(i=u.exec(r)){s.push({src:i[2],element:t[0]})}})})}else{i.find("img:uncached").each(function(){s.push({src:this.src,element:this})})}var f=s.length,l=0;if(f==0){t.call(i[0])}e.each(s,function(r,s){var o=new Image;e(o).bind("load error",function(e){l++;n.call(s.element,l,f,e.type=="load");if(l==f){t.call(i[0]);return false}});o.src=s.src})})};
                    
59})(jQuery)
                    
                
String.js https://github.com/KenBoyer/CompactCMS.git | JavaScript | 82 lines
                    
41	hyphenate: function(){
                    
42		return this.replace(/[A-Z]/g, function(match){
                    
43			return ('-' + match.charAt(0).toLowerCase());
                    
47	capitalize: function(){
                    
48		return this.replace(/\b[a-z]/g, function(match){
                    
49			return match.toUpperCase();
                    
                
FileManager.php https://bitbucket.org/seyar/kinda.local.git | PHP | 177 lines
                    
74						*/
                    
75						preg_match('/\.([a-z]{3,})$/i', $el, $ext);
                    
76						if (!in_array(strtolower($ext[1]), explode('|', Manager::$conf['filesystem.allowed_extensions']))) continue;
                    
157	public static function get_ext($filename = ''){
                    
158		preg_match('/\.([a-z]{3,})$/i', $filename, $ext);
                    
159		return $ext[1];
                    
                
openssl-1.0.0b-darwin-bundle-compile-fix.patch https://bitbucket.org/remustata/lmnd-prefix.git | Patch | 52 lines
                    
26 				*DSO_BEOS*)	sfx=".so";;	\
                    
27-				*DSO_DLFCN*)	sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;;	\
                    
28+				*DSO_DLFCN*) \
                    
30+						darwin64-*|darwin-*) sfx=".bundle";; \
                    
31+						*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
                    
32+					esac; \
                    
42 			*DSO_BEOS*) sfx=".so";; \
                    
43-			*DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
                    
44+			*DSO_DLFCN*) \
                    
46+					darwin64-*|darwin-*) sfx=".bundle";; \
                    
47+					*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
                    
48+				esac; \
                    
                
dom-base.js https://github.com/joshbhamilton/sugar.git | JavaScript | 40 lines
                    
7 */
                    
8YUI.add('dom-base',function(Y){(function(Y){var NODE_TYPE='nodeType',OWNER_DOCUMENT='ownerDocument',DEFAULT_VIEW='defaultView',PARENT_WINDOW='parentWindow',TAG_NAME='tagName',PARENT_NODE='parentNode',FIRST_CHILD='firstChild',PREVIOUS_SIBLING='previousSibling',NEXT_SIBLING='nextSibling',CONTAINS='contains',COMPARE_DOCUMENT_POSITION='compareDocumentPosition',documentElement=document.documentElement,re_tag=/<([a-z]+)/i;Y.DOM={byId:function(id,doc){doc=doc||Y.config.doc;return doc.getElementById(id);},children:function(node,tag){var ret=[];if(node){tag=tag||'*';ret=Y.Selector.query('> '+tag,node);}
                    
9return ret;},firstByTag:function(tag,root){var ret;root=root||Y.config.doc;if(tag&&root.getElementsByTagName){ret=root.getElementsByTagName(tag)[0];}
                    
                
CheckURL.pm https://bitbucket.org/sfranchi/lyx.git | Perl | 246 lines
                    
211  # Split the url to protocol,host,path
                    
212  if ($url =~ /^([a-z]+):\/\/([^\/]+)(.*)$/) {
                    
213    $protocol = $1;
                    
                
jira_service.rb https://gitlab.com/griest/gitlab-ce | Ruby | 320 lines
                    
21  def self.reference_pattern(only_long: true)
                    
22    @reference_pattern ||= /(?<issue>\b([A-Z][A-Z0-9_]+-)\d+)/
                    
23  end
                    
                
mode-abc.js https://gitlab.com/Ontology/OntologyWebModules | JavaScript | 261 lines
                    
12                    token: ['zupfnoter.information.comment.line.percentage', 'information.keyword', 'in formation.keyword.embedded'],
                    
13                    regex: '(%%%%)(hn\\.[a-z]*)(.*)',
                    
14                    comment: 'Instruction Comment'
                    
44                    token: ['text', 'entity.name.function', 'string.unquoted', 'text'],
                    
45                    regex: '(\\[)([A-Z]:)(.*?)(\\])',
                    
46                    comment: 'Inline fields'
                    
                
ASIN.pm https://bitbucket.org/intgr/musicbrainz-server.git | Perl | 64 lines
                    
13
                    
14    if ($self->url =~ m{^(?:https?:)?//(?:www.)?(.*?\.)([a-z]+)(?:\:[0-9]+)?/.*/([0-9B][0-9A-Z]{9})(?:[^0-9A-Z]|$)}i) {
                    
15        my $country = $2;
                    
                
TextHelper.coffee https://gitlab.com/ykazemi/canvas-lms | CoffeeScript | 139 lines
                    
32        |                                        # or
                    
33        [a-z0-9.\-]+[.][a-z]{2,4}/               # looks like domain name followed by a slash
                    
34      )
                    
                
RGenerator.php https://gitlab.com/zenfork/vektor | PHP | 211 lines
                    
112				$line = fgets($file);
                    
113				preg_match('/public[ \t]+function[ \t]+action([A-Z]{1}[a-zA-Z0-9]+)[ \t]*\(/', $line, $matches);
                    
114				if( $matches!==array() )
                    
                
about-history.html https://github.com/sarahkeane/Radio-Arte.git | HTML | 183 lines
                    
13			$('#map area').hide().mouseover(function(e){
                    
14				$('#' + e.target.id.match(/[a-z]*_([a-z_-]*)/)[1]).show();
                    
15				$('#' + e.target.id.match(/[a-z]*_([a-z_-]*)/)[1]).css('visibility', 'visible');
                    
16			}).mouseout(function(e){
                    
17				$('#' + e.target.id.match(/[a-z]*_([a-z_-]*)/)[1]).hide();
                    
18			}).click(function(e){
                    
                
Validation.pm https://github.com/navap/musicbrainz-server.git | Perl | 474 lines
                    
243    my $isrc = $_[0];
                    
244    return $isrc =~ /^[A-Z]{2}[A-Z0-9]{3}[0-9]{7}$/;
                    
245}
                    
261    my $iso_3166_1 = shift;
                    
262    return $iso_3166_1 =~ /^[A-Z]{2}$/;
                    
263}
                    
267    my $iso_3166_2 = shift;
                    
268    return $iso_3166_2 =~ /^[A-Z]{2}-[A-Z0-9]+$/;
                    
269}
                    
273    my $iso_3166_3 = shift;
                    
274    return $iso_3166_3 =~ /^[A-Z]{4}$/;
                    
275}
                    
                
Bundle.properties https://bitbucket.org/rsaqc/openesb-components.git | Properties File | 36 lines
                    
22#Message Id pattern IEPSE(package)(class)(message)where
                    
23# package: [a-z](2) (this allows 26 x 26 packages for IEPSE)
                    
24# class: [a-z]\d(2) (this allows 2600 classes per package)
                    
                
user.rb https://github.com/jpowell1218/rails_3_sample_app.git | Ruby | 66 lines
                    
16
                    
17  email_regex = /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i
                    
18
                    
                
password_strength.js https://bitbucket.org/JakePratt/kupcakz.com.git | JavaScript | 39 lines
                    
24       // Factor in the number of Upper case letters
                    
25       strength += Math.min(3, value.length - value.replace(/[A-Z]/g,"").length) * 10;
                    
26
                    
                
LiteralNamespacesSniff.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 66 lines
                    
18     */
                    
19    private $literalNamespacePattern = '/^[\\\]{0,2}[A-Z][A-Za-z]+([\\\]{1,2}[A-Z][A-Za-z]+){2,}(?!\\\+)$/';
                    
20
                    
                
client.go https://gitlab.com/github-cloud-corporation/prometheus | Go | 130 lines
                    
68// name to be verified. It must conform to the following regular expression:
                    
69// ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
                    
70func (client ManagementClient) CheckDNSNameAvailability(location string, domainNameLabel string) (result DNSNameAvailabilityResult, err error) {
                    
                
is_organization.js https://gitlab.com/skmexyz/SortableCodingChallenge | JavaScript | 77 lines
                    
43  //no period acronyms
                    
44  if (text.length <= 5 && text.match(/^[A-Z][A-Z]+$/) !== null) {
                    
45    return true;
                    
47  //period acronyms
                    
48  if (text.length >= 4 && text.match(/^([A-Z]\.)*$/) !== null) {
                    
49    return true;
                    
59  // eg pets.com
                    
60  if (str.match(/[a-z]{3}\.(com|net|org|biz)/)) { //not a perfect url regex, but a "org.com"
                    
61    return true;
                    
                
objects.rb https://github.com/quasor/redis-objects.git | Ruby | 138 lines
                    
86          sub(%r{(.*::)}, '').
                    
87          gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
                    
88          gsub(/([a-z\d])([A-Z])/,'\1_\2').
                    
                
ApiSearchController.php https://bitbucket.org/d1rk/li3_docs.git | PHP | 68 lines
                    
29		// If the leading character is upper-case, only search models.
                    
30		if (preg_match('/^[A-Z]/', $query)) {
                    
31			$conditions['type'] = 'class';
                    
                
RegexpTokenizerTest.java https://github.com/ajub/sonar.git | Java | 47 lines
                    
40  public void testClone() {
                    
41    RegexpTokenizer tokenizer = new RegexpTokenizer("<r>", "</r>", "[a-z]+");
                    
42    RegexpTokenizer cloneTokenizer = tokenizer.clone();
                    
                
 

Source

Language