eksopl/asagi — pull request #38 by oohnoitz (2012-08-08 19:47:15+00:00)
Title: Supporting /q/ Board

Here are the modifications that should support all the new changes made with the /q/ board. There is still one more file that needs to be modified, but I will need you to clarify it in more detail.

https://github.com/oohnoitz/asagi/blob/master/src/main/java/net/easymodo/asagi/Yotsuba.java#L354
```java
String name = new String(mat.group(1));
String trip = (mat.group(2) != null) ? new String(mat.group(2)) : null;
String capcode = (mat.group(3) == null) ?
((mat.group(4) != null) ? new String(mat.group(4)) : null) :
new String(mat.group(3));
String uid = mat.group(5);
String country = (mat.group(6) != null) ? new String(mat.group(6)) : null;
```

I am basically confused as to what the ***mat.group(4)*** match result is suppose to return and store. This may cause an issue since the attached post_parse_1.regex is fairly different and would require a modification. I didn't submit this with the commits, but could you check it all over and see if everything is correct?

```java
String name = new String(mat.group(1));
String trip = (mat.group(2) != null) ? new String(mat.group(2)) : null;
String capcode = (mat.group(3) != null) ? new String(mat.group(3)) : null;
String uid = mat.group(4);
String country = (mat.group(5) != null) ? new String(mat.group(5)) : null;
```