Romern / syncMyMoodle

Synchronization client for RWTH Moodle
GNU General Public License v3.0
72 stars 18 forks source link

Rewrite/Refactor `scanForLinks` #52

Open Romern opened 3 years ago

Romern commented 3 years ago

The function is a very tangled mess and doesn't work in some edge cases (See https://github.com/Romern/syncMyMoodle/issues/47 ).

septatrix commented 2 years ago

In the v2 rewrite I split this method into scan_url and scan_markup which replaces the single parameter. Also I plan to implement a way to register regexes over which will be looped in those methods.