Schedule-Creator

Java GUI to create schedules for UNCG students
git clone git://git.wrycode.com/wrycode/archive/Schedule-Creator.git
Log | Files | Refs | README

commit 4350bf9ca7d660059eebbac26a0b8e8449d94c81
parent b14e0ee5f293e21166356b2d5c85cf0e8e4c4fc1
Author: Ilyass Sfar <42755577+cloud0x9@users.noreply.github.com>
Date:   Thu,  6 Feb 2020 17:00:16 -0500

Update ParseData.java
Diffstat:
MSchedueData/ParseData.java | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/SchedueData/ParseData.java b/SchedueData/ParseData.java @@ -16,7 +16,9 @@ public class ParseData { //this it the regex expression it grabs abbreviated class name with section, time, and day of the class // ex. CSC 340-01, 5:30-6:45, T H (days) Pattern regex = Pattern.compile - ("\\b[A-Z]{3}\\b.\\b[0-9]{3}\\b.* [0-9]{2}\\b|([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]|([AaPp][Mm])\\b|TR\\b|MW\\b|MWF\\b|M\\b|T\\b|W\\b|R\\b|F\\b/g"); + ("[0-9]{5}|\b[A-Z]{3}\b.\b[0-9]{3}\b.* [0-9]{2}\b|([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]|([AaPp][Mm])\b|TR\b|MW\b|MWF\b|M\b|T\b|W\b|R\b|F\b"); + + //("\\b[A-Z]{3}\\b.\\b[0-9]{3}\\b.* [0-9]{2}\\b|([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]|([AaPp][Mm])\\b|TR\\b|MW\\b|MWF\\b|M\\b|T\\b|W\\b|R\\b|F\\b/g"); // A FileReader BufferedReader r = new BufferedReader(new FileReader("TestFile.txt"));