I wont to remove this, I tried this . but didn't work. &lt;span&gt; powered by &lt;/span&gt; &lt;a  href=&quot;http://keystonejs.com&quot;  target=&quot;_blank&quot;  className={css(classes.link)}  tabIndex=&quot;-1&quot; &gt;  KeystoneJS &lt;/a&gt;    const string = `         tabIndex="-1"                         className={css(classes.link)}                     &gt;                         {brand + (appversion ? (' ' + appversion) : '')}                     &lt;/a&gt;                     &lt;span&gt; powered by &lt;/span&gt;                     &lt;a                         href="http://keystonejs.com"                         target="_blank"                         className={css(classes.link)}                         tabIndex="-1"                     &gt;                         KeystoneJS                     &lt;/a&gt;                     &lt;span&gt; version {version}.&lt;/span&gt;                     {this.renderUser()} `;  console.log(string.match(/&lt;span&gt;\spowered(.*)&lt;\/a&gt;/gmi));
For example, this regex  (.*)&lt;FooBar&gt;   will match:  abcde&lt;FooBar&gt;   But how do I get it to match across multiple lines?  abcde fghij&lt;FooBar&gt;
At school, I really struggled to understand the concept of imaginary numbers.  My teacher told us that an imaginary number is a number that has something to do with the square root of $-1$.  When I tried to calculate the square root of $-1$ on my calculator, it gave me an error.  To this day I still do not understand imaginary numbers.  It makes no sense to me at all.  Is there someone here who totally gets it and can explain it?  Why is the concept even useful? transforming ordinary generating function into exponential generating function Can “whose” refer to an inanimate object? we are currently experiencing some issues with the ambiguity feature of apa for biblatex/biber (we use biber) in TexLive 2012.  What would be correct with the ambiguity feature:  Doe J., Peters M., Kramer N., Conan B. (2012) Doe J., Mayer M., Smith N., Walker J. (2012)  Citations in text (subsequent ones) - AS IS AND CORRECT Doe, Peters et al (2012) Doe, Mayer et al (2012)   But in case of different years, it shouldn't actually do this ...  Doe J., Peters M., Kramer N., Conan B. (2012) Doe J., Mayer M., Smith N., Walker J. (2009)  Citations in text (subsequent ones) - AS IS: Doe, Peters et al (2012) Doe, Mayer et al (2009)  Citations in text (subsequent ones) - HOW IT SHOULD BE: Doe et al (2012) Doe et al (2009)   Can anyone help here?  Thank you! Field level permissions in Drupal 7 What is the best way to create a piece of content with multiple fields... allowing users to edit the content as a whole yet blocking the ability to edit.  The setup I have is a piece of content that has 3 fields: Body, PDF, SWF... and a "Selector" (List Text) that's tied via dependancy. So the user chooses BODY, PDF or SWF and that's what available to edit and shown on the page when live.  What I want to do is add a PHP field... that's either:     greyed out (unable to edit) if your not admin...   doesn't show up in the Drop Down list... Can't select it if you can't see it Shows up on the drop down, but the field doesn't show up in the editor without permissions.   I hope I'm making sense... I can provide an example if needed. On a fresh install of TL 2018, on Linux, no tikz graph drawing libraries can be found.  The files, e.g. texlive/2018/texmf-dist/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.trees.code.tex are there.  \documentclass{scrartcl}   \usepackage{tikz} \usetikzlibrary{graphdrawing} \usegdlibrary{trees}    \begin{document}  Hello World  \end{document}   Compiling with lualatex yields   ! Package pgf Error: Graph drawing library 'trees' not found. Reverse DNS - how to correctly configure for SMTP delivery I started a new service and we need to send emails to our customers (new account confirms, etc).   My server is known as prod01.bidrodeo.com and resolves to 97.107.134.38 .  For reverse DNS, 97.107.134.38 resolves to prod01.bidrodeo.com . However, all our email addresses are in the form of user@bidrodeo.com. Should I make the reverse DNS point to bidrodeo.com instead?   My emails are getting delayed or rejected by certain systems and i am not sure if my reverse DNS is not set up correctly. Hi can you help me solve this exercise? Thanks. Let $f: [0;+\infty) \to \mathbb{R}$ be nonnegative and continuous function. Suppose $\forall a &gt; 0$  $\sum_{n=1}^{\infty} f(na)$ is convergent. Prove that $\int_{0}^{\infty}f(x) dx$ is convergent. I tried to solve it by using the Riemann sum, but for fixed a it doesn't work. I have no other ideas. Fitting unbreakable large equation on one line in a twocolumn layout Identify cartoon about a set of fairy/demon twins in a far future where the demon uses propaganda to take over the world I'm looking for a cartoon from the 70's (I believe) which is about a set of twins; one plump "fairy" and a skeletal "demon". The "fairy" has magic powers and ends up living a life of pleasure, while the "demon" flees and turns evil.  When the "demon" finds his new weapon in the ruins of the ancient world (roughly modern day) he plots to enslave the world; the weapon in question is a set of propaganda movies with Adolf Hitler. Flagging summary improvement: filters Is there a way to use the formatter that comes with eclipse, outside of eclipse?  I would like to format some java files using my formatter.xml file that I have configured using eclipse.  Does anyone have any code examples that would allow me to do this?  I would also like to use this standalone, so the specific jars that are used would be nice. Is it appropriate to ask questions about software licenses/licensing on ? Or is the appropriate place  ? Or is there no appropriate site currently and we should suggest such a site on ? Change ViewPager animation duration when sliding programmatically How fast would the Earth need to spin for us to feel weightless? It's a classic question with many answers all over the Internet, but none here so I figured I'd ask it:  How fast would the Earth need to spin for a person (or anything for that matter) to feel weightless while on the surface at the equator?    In this situation everything on the Earth's surface would essentially be in orbit around the Earth at the radius of the Earth's surface (let us assume the atmosphere was also spun up to this angular velocity so there would be no air drag slowing things down).  Let us also say by "surface of the Earth" we mean mean sea level.  You can decide for yourself if/how to factor in the bulge of the Earth.  You can assume that the Earth somehow is able to maintain its present shape while spinning up.  Any comments on whether an Earth spinning slightly faster than this speed will cause it to break apart or not will also be appreciated. Downgrading from Safari 12 (beta) to Safari 11 Installing Safari beta version is apparently only possible by replacing the builtin Safari version. In this case version 11.1.2 with 12. If beta version does not work, gives too much trouble or is just unpleasant:  How do we downgrade to an official stable version, currently Safari 11.1.2 for 10.12.6 Sierra?  I tried to restore everything relating to 11.1.2 from a backup (going by what is found that is in the installer package), I located and re-applied the 11.1.2_Sierra.pkg. Yet Safari now refuses to work entirely.   Crashed Thread:        3  Dispatch queue: com.apple.SafariCore.RemotePlistController.internalQueue  Exception Type:        EXC_CRASH (SIGABRT) Exception Codes:       0x0000000000000000, 0x0000000000000000 Exception Note:        EXC_CORPSE_NOTIFY  Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[_NSPlaceholderData initWithContentsOfURL:options:error:]: nil URL argument' terminating with uncaught exception of type NSException abort() called   Is there any way around re-installing the entire system? When a sentence uses a parenthetical plural, should the rest of the sentence treat it as singular or plural? Consider the following sentence:     We assume that the individual(s) possesses some general knowledge of the rules of football.   Is "possesses" correct there? Should it be "possess"? Is the rule more complex than always using one or the other? Sudden increase in timing when summing over 250 entries ${!FOO} and zsh ${!FOO} performs a double substitution in bash, meaning it takes the (string) value of FOO and uses it as a variable name. zsh doesn’t support this feature.  Is there a way to make this work the same in bash and zsh?  Background:  I’ve got a list of environment variables, like  PATH MAIL EDITOR   and want to first print the variable names and afterwards their values.  This works in bash but not zsh:    for VAR in LIST do         echo $VAR         echo ${!VAR} done   It should be somehow possible “the old way” with eval, but I can’t get it to work:  for VAR in LIST do         echo $VAR         echo `eval \$$VAR` done   I’m never going to understand why I can’t simply do arbitrary deep substitutions like ${${VAR}} or even ${${${VAR}}} if need be, so an explanation for that would be nice, too. Can a shell script set environment variables of the calling shell?