Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.java.ao.schema;
 
 
 final class UnderScoreUtils
 {
     private static final Pattern WORD_PATTERN = Pattern.compile("([a-z\\d])([A-Z])");
 
     private UnderScoreUtils()
    {
    }
    {
        return .matcher(s).replaceAll("$1_$2");
    }
New to GrepCode? Check out our FAQ X