<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Странно работает RegExMatch [закрыто, сорян, тупанул]]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17727&amp;type=atom" />
	<updated>2023-04-07T13:09:10Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17727</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Странно работает RegExMatch [закрыто, сорян, тупанул]]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157502#p157502" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Ай тьху, и почему когда я это кодил я решил, что оно должно мне подстроку найденную вернуть?</p><p>Если вдруг найдется еще кто то такой же тупанувший как я:<br /></p><div class="codebox"><pre><code>
RegExMatch(Clipboard, &quot;[0-9]{4}\-[0-9]{2}\-[0-9]{2}$&quot;, SubPat)
Clipboard := SubPat
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Gh0sTG0]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39523</uri>
			</author>
			<updated>2023-04-07T13:09:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157502#p157502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Странно работает RegExMatch [закрыто, сорян, тупанул]]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157501#p157501" />
			<content type="html"><![CDATA[<p>Читайте справку по RegExMatch, смотрите, что возвращается.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-04-07T13:06:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157501#p157501</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Странно работает RegExMatch [закрыто, сорян, тупанул]]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157500#p157500" />
			<content type="html"><![CDATA[<p>Добрый день. Почему то в ahk не срабатывает RegExMatch как положено.<br />Мой код:<br /></p><div class="codebox"><pre><code>Clipboard := RegExMatch(Clipboard, &quot;[0-9]{4}\-[0-9]{2}\-[0-9]{2}$&quot;)</code></pre></div><p>Содержимое Clipboard перед выполнением:<br /></p><div class="codebox"><pre><code>14 апреля 2023 года - 2023-04-14</code></pre></div><p>Содержимое Clipboard после выполнения:<br /></p><div class="codebox"><pre><code>23</code></pre></div><p>Ожидаемый результат (так же его выдает regex101.com):<br /></p><div class="codebox"><pre><code>2023-04-14</code></pre></div><p>Изоляцию (`\-` в `-`) я убирать пробовал, ни какой разницы.</p>]]></content>
			<author>
				<name><![CDATA[Gh0sTG0]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39523</uri>
			</author>
			<updated>2023-04-07T13:00:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157500#p157500</id>
		</entry>
</feed>
