BsoBird commented on code in PR #9546:
URL: https://github.com/apache/iceberg/pull/9546#discussion_r1481709724


##########
core/src/main/java/org/apache/iceberg/hadoop/HadoopTableOperations.java:
##########
@@ -59,7 +61,7 @@
  */
 public class HadoopTableOperations implements TableOperations {
   private static final Logger LOG = 
LoggerFactory.getLogger(HadoopTableOperations.class);
-  private static final Pattern VERSION_PATTERN = 
Pattern.compile("v([^\\.]*)\\..*");
+  private static final Pattern VERSION_PATTERN = 
Pattern.compile("v([^.]*)\\..*");

Review Comment:
   Because the escape character is redundant. You can see the rules for regular 
expressions.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to