Fix TestRegularExpression

This commit is contained in:
Bruce Eckel 2016-07-14 12:32:20 -06:00
parent b21359ea19
commit 6c93ba2268
6 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,5 @@
// Copyright.txt // Copyright.txt
This computer source code is Copyright ©2016 MindView LLC This computer source code is Copyright ©2016 MindView LLC
All Rights Reserved. All Rights Reserved.
Permission to use, copy, modify, and distribute this Permission to use, copy, modify, and distribute this

View File

@ -3,8 +3,7 @@
// We make no guarantees that this code is fit for any purpose. // We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information. // Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// Use the XOM library to write and read XML // Use the XOM library to write and read XML
// {Requires: nu.xom.Node; You must install // You must install nu.xom.Node from http://www.xom.nu
// the XOM library from http://www.xom.nu }
import nu.xom.*; import nu.xom.*;
import java.io.*; import java.io.*;
import java.util.*; import java.util.*;

View File

@ -2,8 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt // (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose. // We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information. // Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {Requires: nu.xom.Node; You must install // You must install nu.xom.Node from http://www.xom.nu
// the XOM library from http://www.xom.nu }
// {RunFirst: APerson} // {RunFirst: APerson}
import nu.xom.*; import nu.xom.*;
import java.io.File; import java.io.File;

View File

@ -3,7 +3,7 @@
// We make no guarantees that this code is fit for any purpose. // We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information. // Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// Simple regular expression demonstration // Simple regular expression demonstration
// {Args: abcabcabcdefabc "abc+" "(abc)+" "(abc){2,}" } // {Args: abcabcabcdefabc "abc+" "(abc)+" }
import java.util.regex.*; import java.util.regex.*;
public class TestRegularExpression { public class TestRegularExpression {