<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>pnotepad.org forums &#187; Topic: quirk found with regular expressions and marking</title>
		<link>http://pnotepad.org/forums/topic/545</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Feb 2012 23:50:37 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/topic/545" rel="self" type="application/rss+xml" />

		<item>
                        <title>quirk found with regular expressions and marking (simon)</title>
			<link>http://pnotepad.org/forums/topic/545#post-1884</link>
			<pubDate>Fri, 27 Feb 2009 19:50:54 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1884@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Sure does, please file a google code issue.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>quirk found with regular expressions and marking (ToddFiske)</title>
			<link>http://pnotepad.org/forums/topic/545#post-1881</link>
			<pubDate>Fri, 27 Feb 2009 17:28:13 +0000</pubDate>
			<dc:creator>ToddFiske</dc:creator>
			<guid isPermaLink="false">1881@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'm working on a PyPN script to change indentifiers in underscore format to camel case, eg prog_id -&#38;gt; ProgId.&#60;/p&#62;
&#60;p&#62;I've started by working up a regular expression to find underscore format names, and marking all found items. The regular expression is &#60;code&#62;[a-z]+_[a-z_]+&#60;/code&#62;, which works to find these identifiers. If I find the first one, then press F3, it moves through all of them in the file.&#60;/p&#62;
&#60;p&#62;But if there are more than one such identifier on a line, and I use the Mark All option, it skips every other identifier on a line. F3 still goes to each one, but the highlighting skips all of the even items:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;prog_id  dept_id  emp_id  item_id     # matching identifiers
~~~~~~~           ~~~~~~              # ~~~ are marked, rest are skipped&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This looks like a glitch in the highlighting routine.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

