Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken link to Library Hat blog post in 01-regular-expressions.md #210

Open
bennkael opened this issue Jun 27, 2023 · 2 comments
Open

broken link to Library Hat blog post in 01-regular-expressions.md #210

bennkael opened this issue Jun 27, 2023 · 2 comments
Labels
good first issue Good issue for first-time contributors

Comments

@bennkael
Copy link

A link to a Library Hat blog post in the 01-regular-expressions.md page is broken, leading to a "Site not found" error.

It's on line 264 of the code:

This logic is useful when you have lots of files in a directory, when those files have logical file names, and when you want to isolate a selection of files. It can be used for looking at cells in spreadsheets for certain values, or for extracting some data from a column of a spreadsheet to make new columns. There are many other contexts in which regex is useful when using a computer to search through a document, spreadsheet, or file structure. Some real-world use cases for regex are included on a [Library Hat blog post](https://www.bohyunkim.net/blog/archives/2595#.YTc3rzeSkUo) .

And can also be seen a couple of lines above this link: https://librarycarpentry.org/lc-data-intro/01-regular-expressions.html#exercise on the lesson page.

It should either be removed or possibly another resource that includes real-world use cases for regex should replace it.

@sharilaster sharilaster added the good first issue Good issue for first-time contributors label Jun 30, 2023
@sharilaster
Copy link
Contributor

@bennkael Thanks for catching that! @kevintfrench was able to make a temporary fix in #211. I'd like to leave this issue open for anyone to seek out and suggest alternatives, especially if they are more recent and/or have more accessibility features.

@aforestsomewhere
Copy link
Contributor

I'm not sure if this is the best place to flag it, but it seems that the updated link from #211 (https://acrl.ala.org/techconnect/post/fear-no-longer-regular-expressions/) is also broken:
Fatal error: Access level to Gutenberg_REST_Global_Styles_Controller_6_2::validate_custom_css() must be protected (as in class WP_REST_Global_Styles_Controller) or weaker in /home/customer/www/acrl.ala.org/public_html/techconnect/wp-content/plugins/gutenberg/lib/compat/wordpress-6.2/class-gutenberg-rest-global-styles-controller-6-2.php on line 217

Alternatively, the original post (archived, but https) is available at: https://www.bohyunkim.net/blog/archives/2595

An alternative to another static blog post could be the library of community regular expressions at https://regex101.com/library as it is perhaps less at risk of link decay, and the instructors/learners could browse to showcase examples relevant to their own work/situation? It could make sense as the lesson makes heavy use of regex101.com later on for the exercises.

aforestsomewhere added a commit to aforestsomewhere/lc-data-intro that referenced this issue Apr 27, 2024
episodes\01-regular-expressions.md
- Elevated "Learning common regex metacharacters" to improve the layout of the episode
- Numbered challenges / exercises (LibraryCarpentry#198)
- Removed decayed link, replaced with regex100.com library of commmunity-submitted regex (LibraryCarpentry#210)

episodes\01-regular-expressions.md
- Numbered exercises (LibraryCarpentry#198)
- Clarified that learner should type add a space after community for first challenge in exercise 2.1 (LibraryCarpentry#220 (comment))
- Added exercise 2.4 on use of regex in R (self-organisied workshop, this lessson is taught after https://datacarpentry.org/r-socialsci/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good issue for first-time contributors
Projects
None yet
Development

No branches or pull requests

3 participants