<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.jexp.ru/index.php?action=history&amp;feed=atom&amp;title=Java_by_API%2Fjava.util.regex%2FPatternSyntaxException</id>
		<title>Java by API/java.util.regex/PatternSyntaxException - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.jexp.ru/index.php?action=history&amp;feed=atom&amp;title=Java_by_API%2Fjava.util.regex%2FPatternSyntaxException"/>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java_by_API/java.util.regex/PatternSyntaxException&amp;action=history"/>
		<updated>2026-04-24T22:24:21Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.jexp.ru/index.php?title=Java_by_API/java.util.regex/PatternSyntaxException&amp;diff=2560&amp;oldid=prev</id>
		<title> в 17:43, 31 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java_by_API/java.util.regex/PatternSyntaxException&amp;diff=2560&amp;oldid=prev"/>
				<updated>2010-05-31T17:43:48Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 17:43, 31 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.jexp.ru/index.php?title=Java_by_API/java.util.regex/PatternSyntaxException&amp;diff=2561&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java_by_API/java.util.regex/PatternSyntaxException&amp;diff=2561&amp;oldid=prev"/>
				<updated>2010-05-31T14:47:37Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== PatternSyntaxException: getDescription() ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
import java.io.Console;&lt;br /&gt;
import java.util.regex.Matcher;&lt;br /&gt;
import java.util.regex.Pattern;&lt;br /&gt;
import java.util.regex.PatternSyntaxException;&lt;br /&gt;
public class Main {&lt;br /&gt;
  public static void main(String[] args) {&lt;br /&gt;
    Pattern pattern = null;&lt;br /&gt;
    Matcher matcher = null;&lt;br /&gt;
    Console console = System.console();&lt;br /&gt;
    while (true) {&lt;br /&gt;
      try {&lt;br /&gt;
        pattern = Pattern.rupile(console.readLine(&amp;quot;%nEnter your regex: &amp;quot;));&lt;br /&gt;
        matcher = pattern.matcher(console&lt;br /&gt;
            .readLine(&amp;quot;Enter input string to search: &amp;quot;));&lt;br /&gt;
      } catch (PatternSyntaxException pse) {&lt;br /&gt;
        console.format(&amp;quot;There is a problem with the regular expression!%n&amp;quot;);&lt;br /&gt;
        console.format(&amp;quot;The pattern in question is: %s%n&amp;quot;, pse.getPattern());&lt;br /&gt;
        console.format(&amp;quot;The description is: %s%n&amp;quot;, pse.getDescription());&lt;br /&gt;
        console.format(&amp;quot;The message is: %s%n&amp;quot;, pse.getMessage());&lt;br /&gt;
        console.format(&amp;quot;The index is: %s%n&amp;quot;, pse.getIndex());&lt;br /&gt;
        System.exit(0);&lt;br /&gt;
      }&lt;br /&gt;
      boolean found = false;&lt;br /&gt;
      while (matcher.find()) {&lt;br /&gt;
        console.format(&amp;quot;I found the text \&amp;quot;%s\&amp;quot; starting at &amp;quot;&lt;br /&gt;
            + &amp;quot;index %d and ending at index %d.%n&amp;quot;, matcher.group(), matcher&lt;br /&gt;
            .start(), matcher.end());&lt;br /&gt;
        found = true;&lt;br /&gt;
      }&lt;br /&gt;
      if (!found) {&lt;br /&gt;
        console.format(&amp;quot;No match found.%n&amp;quot;);&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- end source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PatternSyntaxException: getIndex() ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
import java.io.Console;&lt;br /&gt;
import java.util.regex.Matcher;&lt;br /&gt;
import java.util.regex.Pattern;&lt;br /&gt;
import java.util.regex.PatternSyntaxException;&lt;br /&gt;
public class Main {&lt;br /&gt;
  public static void main(String[] args) {&lt;br /&gt;
    Pattern pattern = null;&lt;br /&gt;
    Matcher matcher = null;&lt;br /&gt;
    Console console = System.console();&lt;br /&gt;
    while (true) {&lt;br /&gt;
      try {&lt;br /&gt;
        pattern = Pattern.rupile(console.readLine(&amp;quot;%nEnter your regex: &amp;quot;));&lt;br /&gt;
        matcher = pattern.matcher(console&lt;br /&gt;
            .readLine(&amp;quot;Enter input string to search: &amp;quot;));&lt;br /&gt;
      } catch (PatternSyntaxException pse) {&lt;br /&gt;
        console.format(&amp;quot;There is a problem with the regular expression!%n&amp;quot;);&lt;br /&gt;
        console.format(&amp;quot;The pattern in question is: %s%n&amp;quot;, pse.getPattern());&lt;br /&gt;
        console.format(&amp;quot;The description is: %s%n&amp;quot;, pse.getDescription());&lt;br /&gt;
        console.format(&amp;quot;The message is: %s%n&amp;quot;, pse.getMessage());&lt;br /&gt;
        console.format(&amp;quot;The index is: %s%n&amp;quot;, pse.getIndex());&lt;br /&gt;
        System.exit(0);&lt;br /&gt;
      }&lt;br /&gt;
      boolean found = false;&lt;br /&gt;
      while (matcher.find()) {&lt;br /&gt;
        console.format(&amp;quot;I found the text \&amp;quot;%s\&amp;quot; starting at &amp;quot;&lt;br /&gt;
            + &amp;quot;index %d and ending at index %d.%n&amp;quot;, matcher.group(), matcher&lt;br /&gt;
            .start(), matcher.end());&lt;br /&gt;
        found = true;&lt;br /&gt;
      }&lt;br /&gt;
      if (!found) {&lt;br /&gt;
        console.format(&amp;quot;No match found.%n&amp;quot;);&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- end source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PatternSyntaxException: getMessage() ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
import java.io.Console;&lt;br /&gt;
import java.util.regex.Matcher;&lt;br /&gt;
import java.util.regex.Pattern;&lt;br /&gt;
import java.util.regex.PatternSyntaxException;&lt;br /&gt;
public class Main {&lt;br /&gt;
  public static void main(String[] args) {&lt;br /&gt;
    Pattern pattern = null;&lt;br /&gt;
    Matcher matcher = null;&lt;br /&gt;
    Console console = System.console();&lt;br /&gt;
    while (true) {&lt;br /&gt;
      try {&lt;br /&gt;
        pattern = Pattern.rupile(console.readLine(&amp;quot;%nEnter your regex: &amp;quot;));&lt;br /&gt;
        matcher = pattern.matcher(console&lt;br /&gt;
            .readLine(&amp;quot;Enter input string to search: &amp;quot;));&lt;br /&gt;
      } catch (PatternSyntaxException pse) {&lt;br /&gt;
        console.format(&amp;quot;There is a problem with the regular expression!%n&amp;quot;);&lt;br /&gt;
        console.format(&amp;quot;The pattern in question is: %s%n&amp;quot;, pse.getPattern());&lt;br /&gt;
        console.format(&amp;quot;The description is: %s%n&amp;quot;, pse.getDescription());&lt;br /&gt;
        console.format(&amp;quot;The message is: %s%n&amp;quot;, pse.getMessage());&lt;br /&gt;
        console.format(&amp;quot;The index is: %s%n&amp;quot;, pse.getIndex());&lt;br /&gt;
        System.exit(0);&lt;br /&gt;
      }&lt;br /&gt;
      boolean found = false;&lt;br /&gt;
      while (matcher.find()) {&lt;br /&gt;
        console.format(&amp;quot;I found the text \&amp;quot;%s\&amp;quot; starting at &amp;quot;&lt;br /&gt;
            + &amp;quot;index %d and ending at index %d.%n&amp;quot;, matcher.group(), matcher&lt;br /&gt;
            .start(), matcher.end());&lt;br /&gt;
        found = true;&lt;br /&gt;
      }&lt;br /&gt;
      if (!found) {&lt;br /&gt;
        console.format(&amp;quot;No match found.%n&amp;quot;);&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- end source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PatternSyntaxException: getPattern() ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
import java.io.Console;&lt;br /&gt;
import java.util.regex.Matcher;&lt;br /&gt;
import java.util.regex.Pattern;&lt;br /&gt;
import java.util.regex.PatternSyntaxException;&lt;br /&gt;
public class Main {&lt;br /&gt;
  public static void main(String[] args) {&lt;br /&gt;
    Pattern pattern = null;&lt;br /&gt;
    Matcher matcher = null;&lt;br /&gt;
    Console console = System.console();&lt;br /&gt;
    while (true) {&lt;br /&gt;
      try {&lt;br /&gt;
        pattern = Pattern.rupile(console.readLine(&amp;quot;%nEnter your regex: &amp;quot;));&lt;br /&gt;
        matcher = pattern.matcher(console&lt;br /&gt;
            .readLine(&amp;quot;Enter input string to search: &amp;quot;));&lt;br /&gt;
      } catch (PatternSyntaxException pse) {&lt;br /&gt;
        console.format(&amp;quot;There is a problem with the regular expression!%n&amp;quot;);&lt;br /&gt;
        console.format(&amp;quot;The pattern in question is: %s%n&amp;quot;, pse.getPattern());&lt;br /&gt;
        console.format(&amp;quot;The description is: %s%n&amp;quot;, pse.getDescription());&lt;br /&gt;
        console.format(&amp;quot;The message is: %s%n&amp;quot;, pse.getMessage());&lt;br /&gt;
        console.format(&amp;quot;The index is: %s%n&amp;quot;, pse.getIndex());&lt;br /&gt;
        System.exit(0);&lt;br /&gt;
      }&lt;br /&gt;
      boolean found = false;&lt;br /&gt;
      while (matcher.find()) {&lt;br /&gt;
        console.format(&amp;quot;I found the text \&amp;quot;%s\&amp;quot; starting at &amp;quot;&lt;br /&gt;
            + &amp;quot;index %d and ending at index %d.%n&amp;quot;, matcher.group(), matcher&lt;br /&gt;
            .start(), matcher.end());&lt;br /&gt;
        found = true;&lt;br /&gt;
      }&lt;br /&gt;
      if (!found) {&lt;br /&gt;
        console.format(&amp;quot;No match found.%n&amp;quot;);&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- end source code --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>