<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Двойные кавычки в RegExMatch() и InStr()]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11201&amp;type=atom" />
	<updated>2016-01-03T19:46:37Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11201</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Двойные кавычки в RegExMatch() и InStr()]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100143#p100143" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>

line := &quot;Привет &quot;&quot;Вот текст который надо записать в др. переменную&quot;&quot; тут дальше текст&quot;

MsgBox % line  
MsgBox % SubStr(line, (m1 := InStr(line, &quot;&quot;&quot;&quot;)) + 1, InStr(line, &quot;&quot;&quot;&quot;, 0, 0) - m1 - 1)
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2016-01-03T19:46:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100143#p100143</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Двойные кавычки в RegExMatch() и InStr()]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100142#p100142" />
			<content type="html"><![CDATA[<p>А как добавить кавычки в InStr()?</p>]]></content>
			<author>
				<name><![CDATA[MoZg]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33153</uri>
			</author>
			<updated>2016-01-03T19:36:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100142#p100142</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Двойные кавычки в RegExMatch() и InStr()]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100141#p100141" />
			<content type="html"><![CDATA[<p>Я так понял:<br /></p><div class="codebox"><pre><code>line := &quot;Привет &quot;&quot;Вот текст который надо записать в др. переменную&quot;&quot; тут дальше текст&quot;

MsgBox % line
MsgBox % RegExReplace(line,&quot;.*&quot;&quot;(.*)&quot;&quot;.*&quot;, &quot;$1&quot;)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2016-01-03T19:12:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100141#p100141</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Двойные кавычки в RegExMatch() и InStr()]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100139#p100139" />
			<content type="html"><![CDATA[<p>Упс не дочитал задание. Ниже правильный ответ от serzh82saratov.<br /></p><div class="codebox"><pre><code>line := &quot;Привет &quot;&quot;Вот текст который надо записать в др. переменную&quot;&quot; тут дальше текст&quot;

MsgBox % line
MsgBox % RegExReplace(line,&quot;&quot;&quot;&quot;)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[yalanne]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32850</uri>
			</author>
			<updated>2016-01-03T19:05:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100139#p100139</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Двойные кавычки в RegExMatch() и InStr()]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100137#p100137" />
			<content type="html"><![CDATA[<p>Доброго времени суток, столкнулся с такой задачей надо из строки где будет разнообразные слова выделить слова которые будут находиться между кавычками.</p><p>Допустим есть строка<br /></p><div class="codebox"><pre><code>
Привет &quot;Вот текст который надо записать в др. переменную&quot; тут дальше текст
</code></pre></div><p>Я сначала хотел сделать так </p><div class="codebox"><pre><code>
RegExMatch(Line, &quot;`&quot;(.*)`&quot;&quot;, Symbols)
MsgBox % Symbols1
</code></pre></div><p>Но это не работает.</p><p>С InStr() тоже не проканало:<br /></p><div class="codebox"><pre><code>
if (InSrt(Line, &quot;`&quot;&quot;))
</code></pre></div><p>Сразу выдаёт ошибку что не закрытая кавычка есть.</p><p>Помогите, пожалуйста, решить эту проблему.</p>]]></content>
			<author>
				<name><![CDATA[MoZg]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33153</uri>
			</author>
			<updated>2016-01-03T18:42:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100137#p100137</id>
		</entry>
</feed>
