MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / cardsMatch

Method cardsMatch

ij/src/main/java/ij/plugin/FITS_Writer.java:521–524  ·  view source on GitHub ↗
(String k1, String k2)

Source from the content-addressed store, hash-verified

519 }
520
521 private static boolean cardsMatch(String k1, String k2) {
522 k1 = k1.replaceAll("n", "\\\\d");
523 return k2.matches(k1);
524 }
525
526// /**
527// * Creates a FITS header for an image which doesn't have one already.

Callers

nothing calls this directly

Calls 2

replaceAllMethod · 0.80
matchesMethod · 0.65

Tested by

no test coverage detected