Skip to content

Commit

Permalink
Wrong amide N Java regex correction
Browse files Browse the repository at this point in the history
Change-Id: Iafe1f78c4810ec7a3cd1ead0ed7feaa045313f21
Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
  • Loading branch information
danielszisz authored and egonw committed May 5, 2012
1 parent ea828a9 commit d7338ec
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -164,7 +164,7 @@ private void createPattern() {
//n no2
atomTypePatterns.add(Pattern.compile("N-2;[A-Z[^O]]{0,1}=O[A-Z[^O]]{0,1}[(].*+"));
//n N=O
atomTypePatterns.add(Pattern.compile("N-[1-3];[CH]{1,3}.{1}+[A-Z]{0,3}+[,]?+=OC.*+"));
atomTypePatterns.add(Pattern.compile("N-[1-3];[CH]{1,3}.{1}+[A-Z]{0,3}+[,]?+=O[CNX].*+"));
//NC=0 amid
atomTypePatterns.add(Pattern.compile("N-1-2];[CH]{1}+=S[(].*+"));
//NSO (50)
Expand Down

0 comments on commit d7338ec

Please sign in to comment.