lehrkraefte:blc:informatik:efi-2023:regex

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lehrkraefte:blc:informatik:efi-2023:regex [2023/12/06 15:59]
Ivo Blöchliger [Ausprobieren]
lehrkraefte:blc:informatik:efi-2023:regex [2023/12/14 09:25] (current)
Ivo Blöchliger [Ausprobieren]
Line 35: Line 35:
   * https://regex101.com/ Verwenden Sie Python. Die Dokumentation von Python RegEx: https://docs.python.org/3/library/re.html   * https://regex101.com/ Verwenden Sie Python. Die Dokumentation von Python RegEx: https://docs.python.org/3/library/re.html
  
 +  * http://regextutorials.com/
   * https://regexcrossword.com/   * https://regexcrossword.com/
 +  * https://alf.nu/RegexGolf  (Yay!)
   * https://regexone.com/   * https://regexone.com/
   * https://regex.sketchengine.eu/basic-exercises.html   * https://regex.sketchengine.eu/basic-exercises.html
Line 106: Line 108:
 Gegen eine UI zu programmieren, ist ok für den Einmalgebrauch. Es ist aber nicht nachhaltig, weil die UI jederzeit ändern kann (und wird!).  Gegen eine UI zu programmieren, ist ok für den Einmalgebrauch. Es ist aber nicht nachhaltig, weil die UI jederzeit ändern kann (und wird!). 
  
-Auch haben wir HTML-Code vorliegen. Dieser ist bereits strukturiert und auch danach durchsuchbar. Z.B. kann man die Sache in JavaScript «relativ» einfach erledigen (In den Entwickler Tools):+Auch haben wir HTML-Code vorliegen. Dieser ist bereits strukturiert und auch danach durchsuchbar. Z.B. kann man die Sache in JavaScript «relativ» einfach erledigen (In den Entwickler Tools des Webbrowsers (F12)):
 <code javascript> <code javascript>
 Array.from(document.querySelectorAll('.stpt_event_body')).map(e=>e.getAttribute('title')) Array.from(document.querySelectorAll('.stpt_event_body')).map(e=>e.getAttribute('title'))
  • lehrkraefte/blc/informatik/efi-2023/regex.1701874794.txt.gz
  • Last modified: 2023/12/06 15:59
  • by Ivo Blöchliger