f



why does this regular expression fail?

Suppose I have these five lines in a file somewhere:

<p>This entry should belong to:
<select name="formInputs[id_of_neighborhood_to_which_this_belongs]">
<option value="">(No choice made)</option>
<?php getDatabaseTableValuesInOptionTags("neighborhoods", "id",
"state");  ?>
</select>

Suppose I open this file and read the contents into a string called
$string. Suppose I then give the string to this function:


function matchAllPhpFunctionsInString($subject=false) {
	// 11-08-06 - this is being called in importForm

	$pattern = "<";
	$pattern .= "\?php.*\(.*\); \?";
	$pattern .= ">";
	$pattern = "/$pattern/";
	preg_match_all($pattern, $subject, $matches);
	// print_r($matches);

	// 09-19-06 - there is no point returning a 2 dimensional array, so we
will make
	// it one dimensional.
	$arrayOfPhpFunctionNames = $matches[0];
	return $arrayOfPhpFunctionNames;
}



This function is suppose to find the PHP command. It works on other
pages, but not the one I've posted above. Why is that? Why would this
regular expression not find this PHP command?

0
lkrubner (905)
11/9/2006 1:37:18 AM
comp.lang.php 32646 articles. 0 followers. Post Follow

2 Replies
430 Views

Similar Articles

[PageSpeed] 16

lawrence k wrote:
> Suppose I have these five lines in a file somewhere:
> 
> <p>This entry should belong to:
> <select name="formInputs[id_of_neighborhood_to_which_this_belongs]">
> <option value="">(No choice made)</option>
> <?php getDatabaseTableValuesInOptionTags("neighborhoods", "id",
> "state");  ?>
> </select>
> 
> Suppose I open this file and read the contents into a string called
> $string. Suppose I then give the string to this function:
> 
> 
> function matchAllPhpFunctionsInString($subject=false) {
> 	// 11-08-06 - this is being called in importForm
> 
> 	$pattern = "<";
> 	$pattern .= "\?php.*\(.*\); \?";
> 	$pattern .= ">";
> 	$pattern = "/$pattern/";
> 	preg_match_all($pattern, $subject, $matches);
> 	// print_r($matches);
> 
> 	// 09-19-06 - there is no point returning a 2 dimensional array, so we
> will make
> 	// it one dimensional.
> 	$arrayOfPhpFunctionNames = $matches[0];
> 	return $arrayOfPhpFunctionNames;
> }
> 
> 
> 
> This function is suppose to find the PHP command. It works on other
> pages, but not the one I've posted above. Why is that? Why would this
> regular expression not find this PHP command?
> 


In the pattern you ask for '; ?>', i.e. semi-colon-space-questionmark.

In the code snippet you provided, there is more than one space behind 
the semi-colon, ergo: it is correct that the pattern does not match the 
code snippet.

If more spaces are allowable, you can of course solve this by changing:
 > 	$pattern .= "\?php.*\(.*\); \?";

to:
 > 	$pattern .= "\?php.*\(.*\); +\?";
0
11/9/2006 3:47:25 AM
Juliette wrote:
> lawrence k wrote:
> > Suppose I have these five lines in a file somewhere:
> >
> > <p>This entry should belong to:
> > <select name="formInputs[id_of_neighborhood_to_which_this_belongs]">
> > <option value="">(No choice made)</option>
> > <?php getDatabaseTableValuesInOptionTags("neighborhoods", "id",
> > "state");  ?>
> > </select>
> >
> > Suppose I open this file and read the contents into a string called
> > $string. Suppose I then give the string to this function:
> >
> >
> > function matchAllPhpFunctionsInString($subject=false) {
> > 	// 11-08-06 - this is being called in importForm
> >
> > 	$pattern = "<";
> > 	$pattern .= "\?php.*\(.*\); \?";
> > 	$pattern .= ">";
> > 	$pattern = "/$pattern/";
> > 	preg_match_all($pattern, $subject, $matches);
> > 	// print_r($matches);
> >
> > 	// 09-19-06 - there is no point returning a 2 dimensional array, so we
> > will make
> > 	// it one dimensional.
> > 	$arrayOfPhpFunctionNames = $matches[0];
> > 	return $arrayOfPhpFunctionNames;
> > }
>
>
> In the pattern you ask for '; ?>', i.e. semi-colon-space-questionmark.
>
> In the code snippet you provided, there is more than one space behind
> the semi-colon, ergo: it is correct that the pattern does not match the
> code snippet.

Thanks so much! It's funny, I stared at that for a long time, and never
noticed the extra space!

0
lkrubner (905)
11/9/2006 3:33:47 PM
Reply:

Similar Artilces:

PHP regular expressions
Hello, I am writing an elearning software with php. I need a script to recognize any inut of the type ab,aabb,aaabbb,aaaabbbb..... And so on. Could anyone tell me how can I do this using regular expressions? Regards, Albert Achtenberg Albert <albert@arbel-designs.com> wrote: > I am writing an elearning software with php. I need a script to > recognize any inut of the type ab,aabb,aaabbb,aaaabbbb..... And so on. > Could anyone tell me how can I do this using regular expressions? So basically you need a regexp tutorial. I don't know any but studing http://nl.php.net/manual...

C++ regular expression Vs. Perl regular Expression
Hi all, In Perl the RegExpr is very good use, it allows programmer to do everything they want to do, start from simple text file to a large programm parsing user input. However, I never come across C++ regular expression that able to do what perlist can do???? Thank. [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] "phal" <betterdie@gmail.com> writes: > Hi all, > > In Perl the RegExpr is very good use, it allows programmer to do > everything they want to do, start from simpl...

Question on PHP regular expressions
In PHP I have many more options for functions that do regular expression than I did in Perl. My question is what is the best one to use for doing the following: Give the following: {Somestring.somestring.somestring} blah blah {somestring} value here not used {more.text.here} I want an array like the following: [0] => Somestring.somestring.somestring [1] => somestring [2] => more.text.here So basically I just want to capture the contents (alpha-numeric + periods) inside of curly braces. Thanks for any help. sberry <sean@buildingonline.com> writes: > In PHP I have many more options for functions that do regular > expression than I did in Perl. My question is what is the best one to > use for doing the following: > > Give the following: > {Somestring.somestring.somestring} blah blah {somestring} value here > not used {more.text.here} > > I want an array like the following: > [0] => Somestring.somestring.somestring > [1] => somestring > [2] => more.text.here > > So basically I just want to capture the contents (alpha-numeric + > periods) inside of curly braces. > > Thanks for any help. This should get you started: $string = "{Somestring.somestring.somestring} blah blah {somestring} value here not used {more.text.here}"; $pattern = '/\{.+?\}/'; preg_match_all($pattern, $string, $matches); print_r($matches); Hope that helps, On Nov 8, 11:17 am, Carl <c.gro...@gmail.com>...

PHP and regular expressions #2
Hi, I'm new to this group and regular expressions. I want to extract text from a newspaper website using regular expressions and php I'm using this regular expression at the moment $regexp = "%<table cellspacing=\"0\" cellpadding=\"0\"> (.+) <img height=\"1\" alt=\"Today's News\" />%s"; Each news story is in between those tags , So if I extract those chunks of html using preg_match($regexp,$document,$matches); where $document is a handle on the file. I can store them in %matches for further processing. Alas it does not work and i cannot figure out why Can anyone help? Thanks __where $document is a handle on the file__ the 2nd parameter should be a string read the file to a string... Do you really want the space around "(.+)" ? you can clean this up by enclosing it in '' rather than "" $regexp = '%<table cellspacing="0" cellpadding="0"> (.+) <img height="1" alt="Today's News" />%s'; On Feb 28, 12:03 pm, "Damo" <cormacdeba...@gmail.com> wrote: > Hi, > I'm new to this group and regular expressions. I want to extract text > from a newspaper website using regular expressions and php > I'm using this regular expression at the moment > > $regexp = "%<table cellspacing=\"0\" cellpadding=\"0\"> (.+) <img > height=\"1\" alt=...

Regular expression guaranteed to fail
I want to use sets and regular expressions to implement some linguistic ideas. Representing sounds by symbols, and properties (coronal or velar articulation; voicedness) by sets of symbols with those properties, it is natural to then map these sets, and intersections of them, to regular expressions to apply to strings. The question is, what regular expression should correspond to the empty set? I've provisionally gone with "(?!.*)", i.e., the negation of a look-ahead which matches anything. Is there an established idiom for this, and is that it? And if there isn't, does ...

Regular expression from end of another regular expression till end of line
Hi, There are lines which have numerical substrings of 15 or 16 characters length in them. The regular expression (\d{15,16}) matches this string. I want to extract the portion after this 15/16 character string till end of the line. Can this be done using a regular expression? Thanks in advance for the help. Regards, Raj On 5/1/2010 6:31 AM, Rajendra wrote: > Hi, > > There are lines which have numerical substrings of 15 or 16 characters > length in them. > > The regular expression (\d{15,16}) matches this string. I want to > extract the portion after this 15/16 chara...

Regular expression example on PHP.net
Howdy folks, On this page at php.net http://www.php.net/features.http-auth there's a regular expression in Example 34.2. It's supposed to parse out the different values being passed in the header. I know what it's supposed to do, so I have a vague idea of what's being done in the RE, but I've been having a heck of a time figuring out what each part of the RE is actually doing. Here's what I have so far: preg_match_all('@(\w+)=(?:([\'"])([^\2]+)\2|([^\s,]+))@', $txt, $matches, PREG_SET_ORDER); //'@ //(\w+) Any word character (letter/digit/_), 1 or more //= Equal sign //(?: This submatch will not be captured (still available for later matching) //([\'"]) A single or double quote //([^\2]+) Not start of text (STX)?, 1 or more //\2| //([^\s,]+) Not whitespace or comma, 1 or more //) //@' I'm unclear as to what the second \2 does, as well as which parts the OR applies to. And what are the @s for? Thanks for any help, ZF -- Posted via a free Usenet account from http://www.teranews.com On Fri, 07 Sep 2007 08:02:07 +0200, Zenofobe <fake_email@fake_domain.com= > = wrote: > Howdy folks, > > On this page at php.net > http://www.php.net/features.http-auth > there's a regular expression in Example 34.2. It's supposed to parse = out > the different values being passed in the header. I know what it's > supposed to do, so I have a vague i...

Regular expression fails to replace but matches
<pre> <code> // PATTERN: (<c:param.+value=")<%=[ \t]*([^%]+)[ \t]*%>(".*$) Pattern p = Pattern.compile("(<c:param.+value=\")<%=[ \\t]*([^ \\t%] +)[ \\t]*%>(\")"); Matcher matcher = p.matcher(stuff); Pattern p2 = matcher.pattern(); System.out.println(p2.pattern()); if (matcher.find()) { System.out.println("Found erroneous pattern \"<%= %>\" within \"" + file.getName() + "\", converting now"); stuff = matcher.replaceAll("$1${$2}$3"); } </code> </pre> This code works to find the JSTL tag pattern: <pre> <c:param name="[whatever]" value="<%= [whatever else] %>" /> </pre> But no pattern substitution takes place. I do not understand why this fails to replace the pattern but successfully finds the pattern. Any ideas why? Is this more proof that Java can't handle regular expressions? On 25/08/2008 16:56, phillip.s.powell@gmail.com allegedly wrote: > <pre> > <code> > // PATTERN: (<c:param.+value=")<%=[ \t]*([^%]+)[ \t]*%>(".*$) > Pattern p = Pattern.compile("(<c:param.+value=\")<%=[ \\t]*([^ \\t%] > +)[ \\t]*%>(\")"); > Matcher matcher = p.matcher(stuff); > Pattern p2 = matcher.pattern(); > System.out.println(p2.pattern()); > if (matcher.find()) { > System.out.println("Found errone...

Converting PERL regular expression to PHP?
Hi, I'm in the process of converting some PERL to PHP. Thus, is it possible to leave the following line as is: if ($id =~ /vvvvv/g) { ... } If not, can someone provide PHP equivalent? BTW, I have checked the syntax using 'php -l' because I'm not an expert of PERL but I'm using various references to do the conversion. However, I was able to locate this particular construct. Thanks in advance, -Conrad Hi, the last couple of sentences should read: If not, can someone provide PHP equivalent? BTW, I have checked the syntax using 'php -l'. Also, I'...

assigning alternativ value if a regular expression has failed
Hello, I am using regular expressions to filter words and numbers from $_ and assign them to $1 and $2 for further use $_ =~ m/(.*?)(-{0,1}\d+)$/; How can I assign an alternative value to $1 and $2 if the regular expression failed? (sometimes no there is no input, so I want to record a failure message) Problem is: the digit "0" is a possible value in $1 or $2 I was trying if(!$1){ $var="alternativ values"; } else{ $var=$1; } or if($1 eq undef){ $var="alternativ values"; } .... How cann I check whether a $scalar exists or not? Is there somethin...

Regular Expression for replacing images through URLs in PHP
Hi! I want to replace images through URLs with the help of a regular expression. For example: <img src='http://xxxxx.net/photo/small.jpg'> should be replaced through: <a href='http://xxxxx.net/photo/small.jpg'>Link</a> Another problem are emoticons, which are also included as <img>. Therefore I would like to extend the upper regular expression that the image should only be replaced through an URL, if the src attribute of the img tag does not start with "/modules/emoticons/". Thanks in advance, Markus On Tue, 19 Jul 2005 10:31:30 +02...

What is regular about regular expressions nowadays?
The language {ww | w is alpha} has been shown to be context-sensitive. But the perl regular expression /(\w*)\1/ will recognize it. There are constructs supported by some regex engines (.NET, for example) that allow sections to be tagged and Why do we insist on calling these "regular"? Anything with back-references or tagging of any sort can't be expressed as DFAs or NFAs because one is not supposed to be able to keep a memory of the input. Still, all books that talk about regex engines talk about NFAs and backtracking. Something like {ww} requires an equivalent LBA (linear bou...

php regular expression doesn't match
Hi PHP's regular expression look like doesn't support .*? syntax. So i cannot match the shortest match. For exmaple: $str="a1b a3b"; $str1=ereg_replace("a.*b", "peter", $str1); will produce "peter", but i want "peter peter", so how to? thanks from Peter (cmk128@hotmail.com) cmk128@hotmail.com wrote: > Hi Hi, > PHP's regular expression look like doesn't support .*? syntax. So i > cannot match the shortest match. For exmaple: > > $str="a1b a3b"; Typo. That was $str1="a1b a3b" I expect. > $str1=ereg_replace("a.*b", "peter", $str1); > will produce "peter", but i want "peter peter", so how to? > Yes, * is greedy. I do not know your real-world example, but maybe using a wordboundary can solve your problem? eg: $str1=ereg_replace("/a.*b\b/", "peter", $str1); > thanks > from Peter (cmk128@hotmail.com) > Regards, Erwin Moller Erwin Moller wrote: > cmk128@hotmail.com wrote: >> Hi > > Hi, > >> PHP's regular expression look like doesn't support .*? syntax. So i >> cannot match the shortest match. For exmaple: >> >> $str="a1b a3b"; > > Typo. That was $str1="a1b a3b" I expect. > >> $str1=ereg_replace("a.*b", "peter", $str1); >> will produce "peter", but i want "p...

Regular Expression for Prime Numbers (or How I came to fail at them, and love the bomb)
I was reading up on this site [http://www.noulakaz.net/weblog/ 2007/03/18/a-regular-expression-to-check-for-prime-numbers/] of an interesting way to work out prime numbers using Regular Expression. However my attempts to use this in Python keep returning none (obviously no match), however I don't see why, I was under the impression Python used the same RE system as Perl/Ruby and I know the convert is producing the correct display of 1's...Any thoughts? def re_prime(n): import re convert = "".join("1" for i in xrange(n)) return re.match("^1?$|^(11+...

Using a simple regular expressions to check a filename has '.php' on the end of it
Hi, Im trying to write a regular expression in PHP to check if a submitted filename has .php on the end of it. For example, filename.html woulod return false whereas filename.php would return true. My code is: if (ereg ("$.php", $filename)) return true; else return false; Obviously my expression is wrong, could someone please tell me what Im doing wrong. Thanks Burnsy On Tue, 08 Jan 2008 14:07:31 +0100, bizt <bissatch@yahoo.co.uk> wrote: > Hi, > > Im trying to write a regular expression in PHP to check if a submitted > filename has .php on the end of it. For example, filename.html woulod > return false whereas filename.php would return true. > > My code is: > > if (ereg ("$.php", $filename)) > return true; > else > return false; > > Obviously my expression is wrong, could someone please tell me what Im > doing wrong. Thanks 1. Use PCRE not POSIX, the ereg* function will even disappear in PHP6 it seems. 2. preg_match('/\.php$/',$filename) -- Rik Wasmus bizt wrote: > Hi, > > Im trying to write a regular expression in PHP to check if a submitted > filename has .php on the end of it. For example, filename.html woulod > return false whereas filename.php would return true. > > My code is: > > if (ereg ("$.php", $filename)) > return true; > else > return false; > > Obviously my expression is wrong, could someone please tell me...

How to print all expressions that match a regular expression
Hi, I am a fresh man with python. I know there is regular expressions in Python. What I need is that given a particular regular expression, output all the matches. For example, given =93[1|2|3]{2}=94 as the regular expression, the program should output all 9 matches, i.e., "11 12 13 21 22 23 31 32 33". Is there any well-written routine in Python or third-party program to do this? If there isn't, could somebody make some suggestions on how to write it myself? Thanks. Zhuo In article <ee2cfd35-3171-4ee7-ad3a-cf117e5527c5@r24g2000yqd.googlegroups.com>, "hzhuo1@gmai...

Matching abitrary expression in a regular expression
Hi, How to match a mathematical expression in a single regular expression? moopT wrote: > How to match a mathematical expression in a single regular expression? You can't. Mathematical expressions make use of nested brackets. Regexps don't have the power to handle arbitrarily nested constructs. -- chris moop� wrote: > Hi, > How to match a mathematical expression in a single regular expression? ..* Chris Uppal <chris.uppal@metagnostic.REMOVE-THIS.org> wrote: > You can't. Mathematical expressions make use of nested brackets. Regexps > don't ...

is the language of regular expressions a regular language?
The set REX of regular expressions over the alphabet {a, b} is itself a language over the alphabet {e,0 , a, b, ), (*,U, .} is this language regular? I want to say yes, however, I am not sure what approach to take? Which would be easiest? Construct a DFA or a regular expression? Or am I wrong and this language is not regular? TheGist writes: > The set REX of regular expressions over the alphabet > {a, b} > is itself a language over the alphabet > {e,0 , a, b, ), (*,U, .} > > is this language regular? > > I want to say yes, however, I am not sure what approac...

Seek xpath expression where an attribute name is a regular expression
For starters .... If : //input[@name='start_date'] is the xpath syntax to see if an element with an attribute named start_date exists ... Then what is the xpath syntax to return elements having an attribute named '*date*' . That is there a way to turn start_date into a regular expression? Thanks! GIMME wrote: > For starters .... > > If : > > //input[@name='start_date'] > > is the xpath syntax to see if an element with an attribute > named start_date exists ... No, that expression looks for <input> elements at all levels that have an attribute named 'name' that has the value 'start_date'. You will be able to look for for elements with an attribute named 'start_date' with the XPath expression //input[@start_date] > Then what is the xpath syntax to return elements having > an attribute named '*date*' . > > That is there a way to turn start_date into a regular expression? XPath 1.0 doesn't support any regular expressions, there are however some string functions like contains so could try //input[contains(local-name(@*), 'date')] with the example XML being <?xml version="1.0" encoding="UTF-8"?> <root> <input date="2004-01-01" /> <input start_date="2004-01-01" /> <input date_final="2004-10-10" /> <input att="Kibology" /> <input /&g...

Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
I installed PEAR HTTP_Upload to my new server and now im getting this error when runnign the script. any help? Maximus wrote: > I installed PEAR HTTP_Upload to my new server > and now im getting this error when runnign the script. > > > any help? > permissions problem? where is DB.php located? does DB.php reside in the include_path directories? The message is self explanatory. -- Michael Austin. DBA Consultant Donations welcomed. Http://www.firstdbasource.com/donations.html :) Try on your command line as root: >pear install DB Alex http://prepared-stateme...

Failed opening required 'PEAR.php' (include_path='F:\www\include') in F:\Program Files\PHP\PEAR\Text\CAPTCHA.php on line 22
Hi, Guys=EF=BC=8Cwhen I run my site ,I got some errors: Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in F:\Program Files\PHP\PEAR \Text\CAPTCHA.php on line 22 Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path=3D'F:\www\include') in F:\Program Files \PHP\PEAR\Text\CAPTCHA.php on line 22 It appears that it cann't find the pear.php ,but i checked my dir,and this file was there,and also I have my php.ini file checked,the include_path=3Dinclude_path=3D".;F:\Program Files\PHP\pear;F:\www \include" ,it looks all right,was there anything I have missed in the config file?Or something wrong ? Wish somebody can help me out. Thanks, Mikay >Warning: require_once(PEAR.php) [function.require-once]: failed to >open stream: No such file or directory in F:\Program Files\PHP\PEAR >\Text\CAPTCHA.php on line 22 >Fatal error: require_once() [function.require]: Failed opening >required 'PEAR.php' (include_path='F:\www\include') in F:\Program Files >\PHP\PEAR\Text\CAPTCHA.php on line 22 So where is the pear.php file? >It appears that it cann't find the pear.php ,but i checked my dir,and >this file was there,and also I have my php.ini file checked,the >include_path=include_path=".;F:\Program Files\PHP\pear;F:\www >\include" ,it looks all right,was there anything I have missed in the >config...

Regular Expression
Hi, We have these expressions in our queries: A + B / C ....... What they want is if any of the numbers are -99999 they should be converted to a 0. If they are all -99999 then the result of the entire expression should be -99999. Rather than creating a function where I pass it in as a string and parse it, I'm trying to see if I can use a regular expression to do some counting alone with a decode or case to do this........ Thanks! On 30.05.2008 15:28, amerar@iwc.net wrote: > Hi, > > We have these expressions in our queries: A + B / C ....... > > What they want is if any of the numbers are -99999 they should be > converted to a 0. If they are all -99999 then the result of the > entire expression should be -99999. > > Rather than creating a function where I pass it in as a string and > parse it, I'm trying to see if I can use a regular expression to do > some counting alone with a decode or case to do this........ > > Thanks! How about adding some detail like the Oracle version, DDL the kind of query you are undertaking etc. From what you write it's not clear at all whether you deal with numbers or strings and what's your input that should be checked for -99999 etc. robert ...

Regular Expressions?
Pegasus 4.12 on Win98 here. I am trying to st up an expression which would delete emails sent to a specific address. The problem is that some spammer is using our domain name as the reply-to address and I am inundated with hundreds of bounced emails. The reply to address consists of the letters leg plus four or five random letters before the @stammering.org. I have tried the regular expression leg*@stammering.org which didn't work, and neither does just leg* I would be grateful for any help! Norbert ...

Regular Expressions...
Hi, all. As a recovering Perl guy, I have to admit I don't quite "get" the re module. For example, I'd like to do a few things (I'm going to use phone numbers, 'cause that's what I'm currently dealing with): 12345678900 -- How would I: - Get just the area code? - Get just the seven-digit number? In Perl, I'd so something like m/^1(...)(.......)/; and then I'd have that stuff in $1 and $2, respectively. But the Python stuff simply isn't clicking for me. If anyone could supply concrete examples of how to do the problem, above, that would be terr...

Web resources about - why does this regular expression fail? - comp.lang.php

Expression (sign language) - Wikipedia, the free encyclopedia
Signs with two different expressions. The pursed lips and partly closed eyes on the left, and raised lip on the right, are necessary for proper ...

Arab women artists and their long road to expression
At a London festival, female artists grapple with the issues facing their region and their own identities.

Christie’s Expressions At Trump Event Under Scrutiny
Donald Trump Holds Super Tuesday Election Night Press Conf. In Palm Beach PALM BEACH, FL - MARCH 01: Republican Presidential frontrunner Donald ...

Decoding The Facial Expressions Of The GOP Candidates
Trump's "crooked contemptuous" smile, Rubio's sheepish grin, and Cruz's upper lip of disgust dominated the debate. For tonight's Republican ...

You enjoy freedom of expression only because army guards borders: Delhi HC to Kanhaiya Kumar
The bail granted to Kanhaiya Kumar comes with several conditions, directives to JNU faculty and some serious observations

Bernie Sanders Brought His Finest Facial Expressions to the Democratic Debate
You may not like Bernie Sanders as a presidential candidate, but you’ve gotta admit, this man’s got some pretty expressive peepers. Read more... ...

Crosswords Help You Learn Regular Expressions
Regular expressions might seem arcane, but if you do any kind of software, they are a powerful hacker tool. Obviously, if you are writing software ...

Security, the Greatest Threat to Free Expression?
Like it or not, today we are all, in one way or another, engaged in a battle between perceived security and freedom of expression. And far too ...

Ruby Rose Helps Urban Decay Promote ‘Personal Self-Expression’ With New Modeling Campaign
Orange is the New Black actress Ruby Rose just signed a deal with cosmetics company, Urban Decay. The deal will certainly cast a positive light ...

It Turns Out Vanessa Hudgens' Expression of Love Was Highly Illegal
The Federal Government cares more about some old, dead, scratched up rocks in the desert than it cares about Vanessa Hudgens and Austin Butler ...

Resources last updated: 3/23/2016 9:36:55 PM