<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Извлечение строки из списка по совпадению]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=12541</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=12541&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Извлечение строки из списка по совпадению».]]></description>
		<lastBuildDate>Fri, 10 Mar 2017 20:59:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Извлечение строки из списка по совпадению]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=113773#p113773</link>
			<description><![CDATA[<p>Спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (DD)]]></author>
			<pubDate>Fri, 10 Mar 2017 20:59:30 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=113773#p113773</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Извлечение строки из списка по совпадению]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=113772#p113772</link>
			<description><![CDATA[<div class="codebox"><pre><code>list =
(
C:\IE
C:\IE\t=27229.html
C:\Temp\FXSAPIDebugLogFile.txt
C:\Temp\flashgot.Profile\FlashGot.exe
C:\Temp\flashgot.Profile
C:\Program Files\Common Files\Syszszszszszszszszstem
C:\Program Files\Common Files
F:\APPs\AdvOR-0.3.0.20\AdvOR\AzszszszszszszszsdvOR.ini
F:\APPs\AdvOR-0.3.0.20
F:\APPs\AdvOR-0.3.0.21
F:\APPs\AdvOR-0.3.0.21\AdvOR\AdvORzszszszszszszszsRRRRR.ini
F:\APPs\AdvOR-0.3.0.22
F:\APPs\AdvOR-0.3.0.22\AdvOR\AdvOR.ini
)
word = AdvORzszszszszszszszs

RegExMatch(list, &quot;m`a)^.*\\[^\\]*\Q&quot; word &quot;\E[^\\]*$&quot;, Match)
msgbox % Match</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Fri, 10 Mar 2017 20:46:09 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=113772#p113772</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Извлечение строки из списка по совпадению]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=113771#p113771</link>
			<description><![CDATA[<p>Если не использовать регулярные выражения, то так:<br /></p><div class="codebox"><pre><code>process_list =
(
C:\IE
C:\IE\t=27229.html
C:\Temp\FXSAPIDebugLogFile.txt
C:\Temp\flashgot.Profile\FlashGot.exe
C:\Temp\flashgot.Profile
C:\Program Files\Common Files\Syszszszszszszszszstem
C:\Program Files\Common Files
F:\APPs\AdvOR-0.3.0.20\AdvOR\AzszszszszszszszsdvOR.ini
F:\APPs\AdvOR-0.3.0.20
F:\APPs\AdvOR-0.3.0.21
F:\APPs\AdvOR-0.3.0.21\AdvOR\AdvORzszszszszszszszsRRRRR.ini
F:\APPs\AdvOR-0.3.0.22
F:\APPs\AdvOR-0.3.0.22\AdvOR\AdvOR.ini
)

    Loop, Parse, process_list, `n
    {
	if A_LoopField contains AdvORzszszszszszszszs
	    MsgBox %A_LoopField%
        }
Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (svoboden)]]></author>
			<pubDate>Fri, 10 Mar 2017 20:30:41 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=113771#p113771</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Извлечение строки из списка по совпадению]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=113769#p113769</link>
			<description><![CDATA[<p>Как задать условие: вывести строку из следующего списка, в области после последнего слэша максимально совпадающую с текстом из переменной (например, с таким: &quot;AdvORzszszszszszszszs&quot;)? —</p><p><strong>C:\IE<br />C:\IE\t=27229.html<br />C:\Temp\FXSAPIDebugLogFile.txt<br />C:\Temp\flashgot.Profile\FlashGot.exe<br />C:\Temp\flashgot.Profile<br />C:\Program Files\Common Files\Syszszszszszszszszstem<br />C:\Program Files\Common Files<br />F:\APPs\AdvOR-0.3.0.20\AdvOR\AzszszszszszszszsdvOR.ini<br />F:\APPs\AdvOR-0.3.0.20<br />F:\APPs\AdvOR-0.3.0.21<br />F:\APPs\AdvOR-0.3.0.21\AdvOR\<span style="color: red">AdvORzszszszszszszszs</span>RRRRR.ini<br />F:\APPs\AdvOR-0.3.0.22<br />F:\APPs\AdvOR-0.3.0.22\AdvOR\AdvOR.ini</strong></p>]]></description>
			<author><![CDATA[null@example.com (DD)]]></author>
			<pubDate>Fri, 10 Mar 2017 20:22:55 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=113769#p113769</guid>
		</item>
	</channel>
</rss>
