• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
    • DSS Queries
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

4.44 Miscellaneous
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Miscellaneous
          • dwim_match/2
          • dwim_match/3
          • wildcard_match/2
          • sleep/1
    • Packages
Availability:built-in
Sourcedwim_match(+Atom1, +Atom2)
True if Atom1 matches Atom2 in the `Do What I Mean' sense. Both Atom1 and Atom2 may also be integers or floats. The two atoms match if:
  • They are identical
  • They differ by one character (spy == spu)
  • One character is inserted/deleted (debug == deug)
  • Two characters are transposed (trace == tarce)
  • `Sub-words' are glued differently (existsfile == existsFile == exists_file)
  • Two adjacent sub-words are transposed (existsFile == fileExists)
ClioPatria (version V3.1.1-21-gb8003bb)