group capturing multiple times behind stable prefix
How do you access the matched groups in a JavaScript regular expression?
Webform redirect I'd like to do something pretty straightforward: After user fills out a , I'd like a button that simply redirects them to a URL (in this case it's to a demo sandbox). Of course I'd want the user to fill in their info to capture for lead-generation purposes. My  is set up correctly in that it correctly captures all the user fields and submits them to me via email. However, upon completion "click" I'd like to have the user redirected to a determined internal URL www.mysite.com/foo  I can't figure out how this is done with the vanilla webform settings. Am I missing something obvious? Let $R$ be commutative ring with no (nonzero) nilpotents. If $f(x) = a_0+a_1x+\cdots+a_nx^n$ is a zero divisor in $R[x]$, how do I show there's an element $b \ne 0$ in $R$ such that $ba_0=ba_1=\cdots=ba_n=0$? I want to show that the two annuli $$A=\{r&lt;|z-z_0|&lt;R\} $$ $$A'=\{r'&lt;|z-z_0'|&lt;R'\} $$ are conformally equivalent (i.e. there exists a biholomorphic map between the two) iff $$\frac{R}{r}=\frac{R'}{r'}. $$  Sufficiency:  Suppose the ratios of the radii are the same. A suitable scaling (by $\frac{r'}{r}$) will make $A$ congruent to $A'$, and a translation will map the scaled $A$ onto $A'$. This is clearly a conformal homeomorphism.  Necessity:  The annulus $A$ has the following set of periods $$\left\{ \pm \frac{2 \pi}{\log (R/r)} \right\} $$ (this step required some computations which I will omit)  Similarly $A'$ has   $$\left\{ \pm \frac{2 \pi}{ \log(R'/r')} \right\}$$ as its set of periods. Since the set of periods is a conformal invariant. The ratios of the radii must indeed by the same.  Is this proof correct?   Thanks! Does a size large or larger creature killed by Negative Energy Flood rise as a medium sized zombie? Is it possible to understand the One Piece storyline by watching the movies only? How can I verify a Google authentication access token?  I need to somehow query Google and ask: Is [given access token] valid for the [example@example.com] Google account?  Short version: It's clear how an access token supplied through the  can be used to then request data from a range of Google services. It is not clear how to check if a given access token is valid for a given Google account. I'd like to know how.  Long version: I'm developing an API that uses token-based authentication. A token will be returned upon provision of a valid username+password or upon provision of a third-party token from any one of N verifiable services.  One of the third-party services will be Google, allowing a user to authenticate against my service using their Google account. This will later be extended to include Yahoo accounts, trusted OpenID providers and so on.  Schematic example of Google-based access:    The 'API' entity is under my full control. The 'public interface' entity is any web- or desktop-based app. Some public interfaces are under my control, others will not be and others still I may never even know about.  Therefore I cannot trust the token supplied to the API in step 3. This will be supplied along with the corresponding Google account email address.  I need to somehow query Google and ask: Is this access token valid for example@example.com?  In this case, example@example.com is the Google account unique identifier - the email address someone uses to log in to their Google account. This cannot be assumed to be a Gmail address - someone can have a Google account without having a Gmail account.  The Google documentation clearly states how, with an access token, data can be retrieved from a number of Google services. Nothing seems to state how you can check if a given access token is valid in the first place.  Update The token is valid for N Google services. I can't try a token against a Google service as means of verifying it as I won't know which subset of all Google's services a given user actually uses.  Furthermore, I'll never be using the Google authentication access token to access any Google services, merely as a means of verifying a supposed Google user actually is who they say they are. If there is another way of doing this I'm happy to try. Send email with an attachment located in Google Drive I want to send a PDF attachment located on Google Drive from a Sheet.   Code I'm using is:  function sendEmails() {   var sheet = SpreadsheetApp.getActiveSheet();   var startRow = 2;  // First row of data to process   var numRows = 8;   // Number of rows to process   // Fetch the range of cells A2:B3   var dataRange = sheet.getRange(startRow, 1, numRows, 2)   // Fetch values for each row in the Range.   var file = DriveApp.getFilesByName('ScriptCarPass.pdf')   var data = dataRange.getValues();   for (i in data) {      var row = data[i];     var emailAddress = row[0];  // First column     var message = row[1];       // Second column     var subject = "Sending emails from a Spreadsheet";     MailApp.sendEmail(emailAddress, subject, message, {attachments: file});   } }   Everything works fine except the attachment - i.e. if I run without the attachment it works fine.  I keep getting error Invalid argument: inlineImages  I've also tried with:   attachments: [file.getAs(MimeType.PDF)]   but that gives error that .getAs isn't recognised. Sorry for asking such a basic question - but is there an actual term for the numbers that appear before and after the decimal point?  Example:  25.18  I know the 1 is in the tenths position, the 8 is in the hundredths position. are there singular terms which apply to all of the numbers that appear both before and after the decimal point?  I'm building a billing system, storing dollars and cents as integers (in separate columns), but for other currencies "dollars" and "cents" are not the correct terms = ).  Thanks! X Server for Windows? How does $e^{i x}$ produce rotation around the imaginary unit circle? Euler’s formula states that $e^{i  x} = \cos(x) + i \sin(x)$.  I can see from the MacLaurin Expansion that this is indeed true; however, I don’t intuitively understand how raising $e$ to the power of $ix$ produces rotation.  Can anyone give me an intuitive understanding? multiplicative group of infinite fields Ch.3 #7. Prove that the convergence of $\sum a_n$ implies the convergence of $$\sum \frac{\sqrt{a_n}}{n},$$ if $a_n \geq 0$.      My attempt. If $\sum a_n$ is convergent, then by the root test, $\lim_{n \rightarrow \infty} sup \sqrt[n]{|a_n|} &lt; 1$. This means $|a_n|^{1/n} &lt; 1$. Because $a_n \geq 0$, this means $a_n ^{1/n} &lt; 1$. Now apply the root test to $\sum \frac{\sqrt{a_n}}{n}$ by considering $$\lim_{n \to \infty} sup \sqrt[n]{|\frac{\sqrt{a_n}}{n}|}.$$ $$\sqrt[n]{|\frac{\sqrt{a_n}}{n}|} = \frac{\sqrt{{a_n}^{\frac{1}{n}}}}{\sqrt[n]n}.$$ Because  $a_n ^{1/n} &lt; 1$, certainly the numerator on the left-hand side of the equation above is $&lt;1$. And because $n$ tends to $\infty$, and $n &gt; 1 \rightarrow \sqrt[n]n &gt; 1,$ the denominator is $&gt;1$. Therefore the limit is $&lt;1$ and the root test implies that $\sum \frac{\sqrt{a_n}}{n}$ converges.     If there are any errors in my proof, I think they come from 1) my assumption of the converse of the root test theorem and 2) my misunderstanding of $\lim_{n\to\infty} sup$. Thanks in advance for your help. Estimate of analytic function in a unit disk Merge two arrays as key value pairs in PHP Irreducible polynomial is always separable in char 0 field How to block specific websites without using Parental Controls? Why does Ubuntu create a file ending in ~ for every file I create with a text editor like GNU Emacs? MySQL Conditional Insert Do I have to move swap partition to the right side? According to  I just expand my sda4 to include unallocated space, my question is after create 2 new partitions sda7, sda8, do I need to move the swap partition to the most right of the disk? (I really don't know this, I saw  which moving the swap partition to the right side)  Thanks. Show that $\forall (x,y)$ in the first quadrant: $\frac {x^2+y^2}{4}\leq e^{x+y-2}$