Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/fastagi/impl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1493/src/java/net/sf/asterisk/fastagi/impl
Modified Files:
ReplyBuilderImpl.java
Log Message:
Fixed ADDITIONAL_ATTRIBUTES_PATTERN
Index: ReplyBuilderImpl.java
===================================================================
RCS file: /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/fastagi/impl/ReplyBuilderImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -p -r1.1 -r1.2
--- ReplyBuilderImpl.java 11 Mar 2005 15:20:50 -0000 1.1
+++ ReplyBuilderImpl.java 31 Mar 2005 20:38:53 -0000 1.2
@@ -38,7 +38,7 @@ public class ReplyBuilderImpl implements
private static final Pattern PARENTHESIS_PATTERN = Pattern
.compile("^200 result=\\S+ \\((.*)\\)");
private static final Pattern ADDITIONAL_ATTRIBUTES_PATTERN = Pattern
- .compile("^200 result=\\S+( \\(.*\\) )?(.+)$");
+ .compile("^200 result=\\S+ (\\(.*\\) )?(.+)$");
private static final Pattern ADDITIONAL_ATTRIBUTE_PATTERN = Pattern
.compile("(\\S+)=(\\S+)");
private static final Pattern SYNOPSIS_PATTERN = Pattern
|