Skip to content
Snippets Groups Projects
Commit 75295bea authored by Andrius Merkys's avatar Andrius Merkys
Browse files

Adding a patch to remove strange symbols.

parent 2cd5429a
No related branches found
No related tags found
No related merge requests found
--- a/jregex/Bitset.java
+++ b/jregex/Bitset.java
@@ -297,42 +297,6 @@
return sb.toString();
}
- /*
- public static void main(String[] args){
- //System.out.print("blocks(Lu)=");
- //System.out.println(CharacterClass.stringValue2(Block.toBitset2(categoryBits[Lu])));
- //System.out.println("[1][0].get('a')="+categoryBits[1][0].get('a'));
- //System.out.println("[1][0].get('A')="+categoryBits[1][0].get('A'));
- //System.out.println("[1][0].get(65)="+categoryBits[1][0].get(65));
- //System.out.println(""+categoryBits[1][0].get('A'));
- Bitset b1=new Bitset();
- //b1.setCategory(Lu);
- //b1.enableLargeMode();
- b1.setRange('a','z');
- b1.setRange('','');
-
- Bitset b2=new Bitset();
- //b2.setCategory(Ll);
- //b2.enableLargeMode();
- b2.setRange('A','Z');
- b2.setRange('','');
-
- Bitset b=new Bitset();
- //bs.setRange('a','z');
- //bs.setRange('A','Z');
- b.add(b1);
- b.add(b2,true);
-
- System.out.println("b1="+b1);
- System.out.println("b2="+b2);
- System.out.println("b=b1+^b2="+b);
-
- b.subtract(b1,true);
-
- System.out.println("(b1+^b2)-^b1="+b);
-
- }
- */
}
class Block implements UnicodeConstants{
@@ -592,4 +556,4 @@
static{
for(int i=0;i<BLOCK_SIZE;i++) FULL_BITS[i]=true;
}
-}
\ No newline at end of file
+}
remove-strange-symbols.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment