Skip to content

ljdyer/reference-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Reference checker

How to use it

Go to https://reference-checker.netlify.app/.

Paste your list of references into the text area displayed and read the advice displayed. Hover your mouse over any potential errors for more details.

If there are any potential errors, you are recommended to make any necessary changes in the file containing your essay and paste the references into the tool again after editing to confirm that all necessary changes have been made correctly. There may of course be 'false positives' which can be ignored just like for any proofing tool.

Click on the demo video link below to see it in action, or keep scrolling down to see the full list of checks.

List of checks

CheckDescriptionRegular expression
Leading/trailing spaceYou may have some spaces at the start or end of lines. Consider removing./^ |\n | \n| $/gm
Double spaceYou may have some double spaces in your reference list. Consider removing./ +/g
Space between initialsQuick Start Guide available on University website has names with more than one initial with no spaces between initials (e.g. Perkin, G.D.)./\w\.\s+\w\./g
Missing comma after surnameA comma is required after each surname before the initials (e.g. Watt, I.S.)/\b\w+\s([A-Z]\.)+/g
Missing comma between namesA comma is required between names in lists of 3 or more authors, expect before the 'and' (e.g. (e.g. Ratnawati, V., Freddy, D. and Hardi, H.)/\w+, (\w\.)+ \w+, (\w\.)+/g
Missing 'and'Quick Start Guide available on University website has 'and' before the last name in lists of names (e.g. Ratnawati, V., Freddy, D. and Hardi, H.)/(?<!and) \S+,[^\n,]*\(\d{4}/g
Serial commaQuick Start Guide available on University website has lists of three or more names without serial commas (e.g. Ratnawati, V., Freddy, D. and Hardi, H.)./,\s?and/g
Capitalised 'doi'Quick Start Guide available on University website has 'doi' in lowercase/DOI|Doi/g
Full stop after doiQuick Start Guide available on University website has no full stop at the end of lines ending with a DOI/doi: \S*\.(?!\d)/g
Et al.'Et al.' belongs in in-text citations. Authors should be listed in full in the list of references./[Ee][Tt] [Aa][Ll]/g

Credits

Text area highlights implemented using highlight-within-textarea plugin.

Hover tooltips implemented based on W3Schools tutorial.

About

Check for formatting issues in lists of references

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published