<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Парсинг строки]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=18260&amp;type=atom" />
	<updated>2024-07-24T07:25:14Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=18260</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Парсинг строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161332#p161332" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong><br />Спасибо, работает такой вариант!</p><p>Итоговый шаблон:</p><div class="codebox"><pre><code>
InputString := &quot; |  +- CPU Core #3    :       52       58       60 (/intelcpu/0/temperature/0)&quot;
RegExMatch(InputString, &quot;(\d+)\s*(\d+)\s*(\d+)&quot;, Match)
MsgBox % Match1 &quot; &quot; Match2 &quot; &quot; Match3
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[sergeich]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=819</uri>
			</author>
			<updated>2024-07-24T07:25:14Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161332#p161332</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Парсинг строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161331#p161331" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>RegExMatch(InputString, &quot;(\d{2}).*(\d{2}).*(\d{2})&quot;, Match)
MsgBox, % Match1 &quot; &quot; Match2 &quot; &quot; Match3</code></pre></div>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2024-07-23T21:14:12Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161331#p161331</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Парсинг строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161330#p161330" />
			<content type="html"><![CDATA[<p>Не пойму как вывести второе и третье вхождение отдельно</p><div class="codebox"><pre><code>
InputString := &quot; |  +- CPU Core #3    :       52       58       60 (/intelcpu/0/temperature/0)&quot;
RegExMatch(InputString, &quot;(\d{2}.*\d{2}.*\d{2})&quot;, Match)
MsgBox % Match1
</code></pre></div><p>Результат: 52&nbsp; &nbsp; &nbsp; &nbsp;58&nbsp; &nbsp; &nbsp; &nbsp;60</p>]]></content>
			<author>
				<name><![CDATA[sergeich]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=819</uri>
			</author>
			<updated>2024-07-23T19:08:46Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161330#p161330</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Парсинг строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161329#p161329" />
			<content type="html"><![CDATA[<p>Публикуйте свои попытки тут.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-07-23T18:59:04Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161329#p161329</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Парсинг строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161328#p161328" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Да, точно, спасибо! Буду пытаться дальше.</p>]]></content>
			<author>
				<name><![CDATA[sergeich]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=819</uri>
			</author>
			<updated>2024-07-23T18:13:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161328#p161328</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Парсинг строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161326#p161326" />
			<content type="html"><![CDATA[<p>Может, RegExMatch на что сгодится? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-07-23T16:11:49Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161326#p161326</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Парсинг строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161325#p161325" />
			<content type="html"><![CDATA[<p>Привет всем! И снова к вопросу парсинга строки из Open Hardware Monitor Report ))<br />Помогите пожалуйста распарсить строку:</p><p>|&nbsp; +- CPU Core #1&nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp;52&nbsp; &nbsp; &nbsp; &nbsp;58&nbsp; &nbsp; &nbsp; &nbsp;60 (/intelcpu/0/temperature/0)</p><p>Необходимо вытащить цифры 58, 58, 60 в переменные. Пробовал с помощью RegExReplace, но не получается.<br />Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[sergeich]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=819</uri>
			</author>
			<updated>2024-07-23T12:47:15Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161325#p161325</id>
		</entry>
</feed>
