This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.regex.Pattern; | |
import java.util.Arrays; | |
public class MyClass { | |
public static Pattern COMMAS = Pattern.compile(",(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)"); //Pattern.compile("\\\"([^\\\\\\\"]*)\\\"|(?<=,|^)([^,]*)(?=,|$)"); | |
public static void main(String args[]) { | |
String string = "149,\"Libby, McNeill & Libby\",215.4,4.2,file:/home/sachin/eclipse-workspace/datasets/fortune500/fortune500-1955.csv\n" | |
+ "155,Archer Daniels Midland,207.7,5.0,file:/home/sachin/eclipse-workspace/datasets/fortune500/fortune500-1955.csv\n" | |
+ "156,Motorola,205.2,7.6,file:/home/sachin/eclipse-workspace/datasets/fortune500/fortune500-1955.csv"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="CompilerConfiguration"> | |
<bytecodeTargetLevel> | |
<module name="GitManager_android" target="1.8" /> | |
<module name="GitManager_desktop" target="1.8" /> | |
<module name="GitManager_embedded" target="1.8" /> | |
<module name="GitManager_ios" target="1.8" /> | |
<module name="GitManager_main" target="1.8" /> | |
<module name="GitManager_test" target="1.8" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target/ | |
!.mvn/wrapper/maven-wrapper.jar | |
### STS ### | |
.apt_generated | |
.classpath | |
.factorypath | |
.project | |
.settings | |
.springBeans |