Can some explain how Regex engine works when it tries match    ^4$ to 749\n486\n4    I am mean how Regex engine parse string While performing match
In the Stack Overflow podcast #36 (), this opinion was expressed: Once you understand how easy it is to set up a state machine, you’ll never try to use a regular expression inappropriately ever again. I've done a bunch of searching.  I've found some academic papers and other complicated examples, but I'd like to find a simple example that would help me understand this process.  I use a lot of regular expressions, and I'd like to make sure I never use one &quot;inappropriately&quot; ever again.
How to select lenses for outdoor sports photography? I would like to get into sports photography, and would probably want a better telephoto lens so I can get better close up shots.  What other factors should I keep in mind as I make my choice? Does IS (or VR) matter?  What is a good focal length?  I'll probably be shooting mostly little league baseball/softball, church softball leagues, and kids soccer. Can I list-initialize a vector of move-only type? 3d transforms on SVG element I've doing some researches since few days and I haven't really got an answer to my question.  I am in the process of building a huge file server for the company I work for. We bought a server case  with 24 bays and drives. Now I am stuck at the point where I have to choose the RAID card. I saw a RAID card from LSI that offer 6 internals mini-SAS 8087 ports (6x4) and would work perfectly with my build. However, it's not cheap.  I have been reading about the subject and I found something called SAS Expander. They are cheap.  with 6 mini SAS 8087 for 225$ (instead of 1150$ of the other one).  Now my question, how would I link an SAS Expander with a RAID card ? Do I need to a buy a RAID card with only 1 external 8088 port and link it with the other card ? Could someone clarify this for me because I haven't found any good documentation on it.  Thanks you. How to format date and time in Android? When is the new ball due for all forms of cricket? Is there a standard time fixed in Test, ODI and T20 formats of Cricket, when a fielding side captain can ask for a new ball?  If the captain of the fielding side doesn't ask for a new ball, will he be forced to have it mandatorily after a certain point by the match umpires? Google Chrome (Windows) not displaying text/encoding correctly on certain websites I experience a problem similar to    Here's a screenshot on the website     I've tried:   Removing fonts I have installed Setting the encoding to Western, UTF-8, Greek, Automatic Changing the fonts used in Google Chrome Removing Google Chrome, including all application data/user profiles Running CCleaner Reinstalling Google Chrome, twice Installing Chromium (fonts display fine in Chromium) Turning off Windows ClearType Changing Windows/Chrome languages from English (Australia) to US, UK Restarting Windows several times after making changes   All of which did not work. I do not connect over VPN/proxy.   Can anyone give me any tips?  Windows 7 x64 Ultimate How to delete (invalid) files with colon in their name under Windows? I've got a rather large number of files on my Windows drive that have a colon in their name. (These came from unpacking some Unix archives.)   When I try to delete them, Windows (XP) complains that the file does not exist, and refuses to delete it. This happens when trying to delete or rename it from explorer or the command line. Still, chkdsk does not complain about those files nor fix the problem.   Any ideas on how to get rid of them? How do you find out the caller function in JavaScript? function main() {    Hello(); }  function Hello() {   // How do you find out the caller function is 'main'? }   Is there a way to find out the call stack? Heroku and Twisted Is it true that the order of $ab$ is always equal to the order of $ba$? How do I prove that if $a$, $b$ are elements of group, then $o(ab) = o(ba)$?   For some reason I end up doing the proof for abelian(ness?), i.e., I assume that the order of $ab$ is $2$ and do the steps that lead me to conclude that $ab=ba$, so the orders must be the same. Is that the right way to do it? I'm looking for either a single word or phrase that would describe either someone or the action of dismissing someone's opinions as something "socially unpopular", without giving any reasoning why, either just to spite them, because they have a poor counter-argument, have been backed into a corner, or something similar.  For example, someone who supports something politically incorrect (like, say, stronger gun control or help for male domestic abuse) might have their views dismissed as racist or sexist or liberal without actually acknowledging and debating against them, thus labeling the former as something they might not be.  I was talking to a friend earlier about politics, and she complained about Germany's immigration problem. She said one issue was that many politicians that try to support stronger immigration laws would immediately be shot down as racist or a nazi and forced to resign, instead of being presented with counter-arguments. Regardless of whether you agree with them or not, what would describe that?  EDIT: Forgot to specify -- the word or phrase I'm looking for would be used in an informal context. And to address further questions, to be used when the person's opinion has legitimate worth and isn't just "being racist" etc, i.e. the dismisser is incorrect, and is only making these accusations because they can't argue further. (Added emphasis to the last sentence of the first paragraph) Floating sidebar can get too long and obscure footer Sometimes, when you create a question which returns a lot of similar questions, it makes the height of the floating "Similiar Questions" box too big to fit on the page. As a result, it blocks some of the footer on the right hand side. It's actually doing it as I type this question.  I think a max height based on the view port - footerHeight should fix it. get values from ANY type Object I'd like to find out why  \begin{align} \sum_{n=0}^{\infty} \frac{n^2}{2^n} = 6 \end{align}  I tried to rewrite it into a geometric series  \begin{align} \sum_{n=0}^{\infty} \frac{n^2}{2^n} = \sum_{n=0}^{\infty} \Big(\frac{1}{2}\Big)^nn^2 \end{align}  But I don't know what to do with the $n^2$. Computing: $\int_0^1 \sqrt[3]{x\log{\frac{1}x}} \, \mathrm dx$ Creating if-else condition with ArcGIS API for JavaScript combo boxes? Free way to clone HDD to SSD? Is there any difference in meaning between 'efficacy' and 'efficiency'? addplot3[surf] creates lines instead of a surface