<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://regexadvice.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Discussion</title><link>http://regexadvice.com/forums/65/ShowForum.aspx</link><description>Open.  Discuss anything you like, so long as it's generally respectful and not generally offensive.</description><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>Re: positive lookbehind in JavaScript</title><link>http://regexadvice.com/forums/thread/85210.aspx</link><pubDate>Thu, 17 May 2012 21:35:19 GMT</pubDate><guid isPermaLink="false">d291b357-6366-4006-9008-4266c301325a:85210</guid><dc:creator>Stevezilla00</dc:creator><slash:comments>0</slash:comments><comments>http://regexadvice.com/forums/thread/85210.aspx</comments><wfw:commentRss>http://regexadvice.com/forums/commentrss.aspx?SectionID=65&amp;PostID=85210</wfw:commentRss><description>As noted, JavaScript does not support lookbehind. However, there is a short collection of functions at &lt;a href="https://gist.github.com/2387872"&gt;https://gist.github.com/2387872&lt;/a&gt; that make it easy to emulate positive and negative lookbehind in JavaScript. (Note that the linked code relies on the XRegExp library.)</description></item><item><title>Re: positive lookbehind in JavaScript</title><link>http://regexadvice.com/forums/thread/60349.aspx</link><pubDate>Thu, 04 Mar 2010 18:33:22 GMT</pubDate><guid isPermaLink="false">d291b357-6366-4006-9008-4266c301325a:60349</guid><dc:creator>mash</dc:creator><slash:comments>0</slash:comments><comments>http://regexadvice.com/forums/thread/60349.aspx</comments><wfw:commentRss>http://regexadvice.com/forums/commentrss.aspx?SectionID=65&amp;PostID=60349</wfw:commentRss><description>Please do not hijack someone else&amp;#39;s post.&amp;nbsp; Start a new Topic. Also it would be more appropriate to post this in the Regex Construction forum following the guidelines posted there.&lt;br /&gt;</description></item><item><title>Re: positive lookbehind in JavaScript</title><link>http://regexadvice.com/forums/thread/60348.aspx</link><pubDate>Thu, 04 Mar 2010 16:49:51 GMT</pubDate><guid isPermaLink="false">d291b357-6366-4006-9008-4266c301325a:60348</guid><dc:creator>soneri</dc:creator><slash:comments>0</slash:comments><comments>http://regexadvice.com/forums/thread/60348.aspx</comments><wfw:commentRss>http://regexadvice.com/forums/commentrss.aspx?SectionID=65&amp;PostID=60348</wfw:commentRss><description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am trying to use regular &lt;span class="IL_AD" id="IL_AD2"&gt;expressions&lt;/span&gt; to scan a subdirectory structure and&lt;br /&gt;
run sfv and parity file checks on the directory.  However, I am having an issue&lt;br /&gt;
with my current code using regular expressions to find par2 files.  Multiple&lt;br /&gt;
par2 files are created for an archive in the following format:&lt;br /&gt;
&lt;br /&gt;
test.par2&lt;br /&gt;
test.vol000+01.par2&lt;br /&gt;
test.vol000+03.par2&lt;br /&gt;
test.vol000+07.par2&lt;br /&gt;
and so on...&lt;br /&gt;
&lt;br /&gt;
I only want to select the files name &amp;quot;test.par2&amp;quot; using regular expressions.</description></item><item><title>Re: positive lookbehind in JavaScript</title><link>http://regexadvice.com/forums/thread/60016.aspx</link><pubDate>Tue, 23 Feb 2010 22:50:38 GMT</pubDate><guid isPermaLink="false">d291b357-6366-4006-9008-4266c301325a:60016</guid><dc:creator>unicorn</dc:creator><slash:comments>0</slash:comments><comments>http://regexadvice.com/forums/thread/60016.aspx</comments><wfw:commentRss>http://regexadvice.com/forums/commentrss.aspx?SectionID=65&amp;PostID=60016</wfw:commentRss><description>Hi people thank you for your replies about the code. This is so important that you have suggested this. I will also try it out because when I used this code before I also faced this type of problem. So I think now it is going to be solved.&lt;br /&gt;</description></item><item><title>Re: positive lookbehind in JavaScript</title><link>http://regexadvice.com/forums/thread/59947.aspx</link><pubDate>Mon, 22 Feb 2010 15:34:16 GMT</pubDate><guid isPermaLink="false">d291b357-6366-4006-9008-4266c301325a:59947</guid><dc:creator>mash</dc:creator><slash:comments>0</slash:comments><comments>http://regexadvice.com/forums/thread/59947.aspx</comments><wfw:commentRss>http://regexadvice.com/forums/commentrss.aspx?SectionID=65&amp;PostID=59947</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://regexadvice.com/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;buckman:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;JavaScript is a language. it is used to make small scripts or designing. it does not provide any facility about graphical user&amp;nbsp;interfaces to make GUI pages.&amp;nbsp;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;I don&amp;#39;t know how that statement is relevant to the question asked by the original poster or this forum.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: positive lookbehind in JavaScript</title><link>http://regexadvice.com/forums/thread/59895.aspx</link><pubDate>Sat, 20 Feb 2010 10:55:40 GMT</pubDate><guid isPermaLink="false">d291b357-6366-4006-9008-4266c301325a:59895</guid><dc:creator>buckman</dc:creator><slash:comments>0</slash:comments><comments>http://regexadvice.com/forums/thread/59895.aspx</comments><wfw:commentRss>http://regexadvice.com/forums/commentrss.aspx?SectionID=65&amp;PostID=59895</wfw:commentRss><description>JavaScript is a language. it is used to make small scripts or designing. it does not provide any facility about graphical user&amp;nbsp;interfaces to make GUI pages.&amp;nbsp;</description></item><item><title>Re: positive lookbehind in JavaScript</title><link>http://regexadvice.com/forums/thread/58692.aspx</link><pubDate>Thu, 21 Jan 2010 16:33:07 GMT</pubDate><guid isPermaLink="false">d291b357-6366-4006-9008-4266c301325a:58692</guid><dc:creator>mash</dc:creator><slash:comments>0</slash:comments><comments>http://regexadvice.com/forums/thread/58692.aspx</comments><wfw:commentRss>http://regexadvice.com/forums/commentrss.aspx?SectionID=65&amp;PostID=58692</wfw:commentRss><description>The JavaScript regex engine does &lt;b&gt;not &lt;/b&gt;support look-behinds&lt;br /&gt;</description></item><item><title>positive lookbehind in JavaScript</title><link>http://regexadvice.com/forums/thread/58678.aspx</link><pubDate>Thu, 21 Jan 2010 08:58:39 GMT</pubDate><guid isPermaLink="false">d291b357-6366-4006-9008-4266c301325a:58678</guid><dc:creator>devMan</dc:creator><slash:comments>0</slash:comments><comments>http://regexadvice.com/forums/thread/58678.aspx</comments><wfw:commentRss>http://regexadvice.com/forums/commentrss.aspx?SectionID=65&amp;PostID=58678</wfw:commentRss><description>&lt;p&gt;Hi,
&lt;/p&gt;&lt;p&gt;I tried to do it this way:
&lt;/p&gt;&lt;p&gt;Code:

 
 &lt;/p&gt;&lt;p&gt;&lt;b&gt;var regex = new RegExp (&amp;quot;(?&amp;lt;= \ () [1-9 ](?=( and | or)) &amp;quot;,&amp;quot; g &amp;quot;);
 

&lt;/b&gt;&lt;/p&gt;&lt;p&gt;but I have an error:
&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;invalid quantify ?&amp;lt;=()[ 1-9 ](?=( and | or))&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span id="result_box" class="short_text"&gt;&lt;span style="background-color:#ffffff;"&gt;thank you for helping me&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;</description></item></channel></rss>